Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007577/0.0007578, allocations: 94.36 kB / 16.96 MB, free: 5.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007839/0.0007839, allocations: 191.1 kB / 17.85 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 223.2 MB / 241.8 MB, free: 356 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1693/0.1693, allocations: 38.09 MB / 331.1 MB, free: 8.949 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003157/0.0003157, allocations: 8 kB / 400.7 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.12, allocations: 59.16 MB / 459.9 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.005049/0.1251, allocations: 4.264 MB / 464.1 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001721/0.1269, allocations: 1.072 MB / 465.2 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001999/0.1271, allocations: 23.88 kB / 465.2 MB, free: 2.043 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001908/0.1273, allocations: 59.47 kB / 465.3 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000538/0.1279, allocations: 222.8 kB / 465.5 MB, free: 1.766 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00026/0.1281, allocations: 123.8 kB / 465.6 MB, free: 1.645 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000531/0.1287, allocations: 0.5178 MB / 466.1 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000206/0.1289, allocations: 106.2 kB / 466.2 MB, free: 1.023 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000244/0.1291, allocations: 175.1 kB / 466.4 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003558/0.1295, allocations: 227.2 kB / 466.6 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.817e-05/0.1296, allocations: 16 kB / 466.7 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.303e-05/0.1296, allocations: 12 kB / 466.7 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001356/0.1297, allocations: 115.7 kB / 466.8 MB, free: 500 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.866e-05/0.1298, allocations: 81.52 kB / 466.9 MB, free: 412 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002754/0.1301, allocations: 279.2 kB / 467.1 MB, free: 132 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1301, allocations: 0 / 467.1 MB, free: 132 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1301, allocations: 3.938 kB / 467.1 MB, free: 128 kB / 334.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1301, allocations: 0 / 467.1 MB, free: 128 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001132/0.1313, allocations: 0.6438 MB / 467.8 MB, free: 15.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.1313, allocations: 12.03 kB / 467.8 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.072e-05/0.1314, allocations: 35.53 kB / 467.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005267/0.1319, allocations: 370.6 kB / 468.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.494e-05/0.132, allocations: 20.56 kB / 468.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.289e-05/0.132, allocations: 31.98 kB / 468.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004818/0.1325, allocations: 360.7 kB / 468.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.1325, allocations: 0 / 468.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.729e-05/0.1326, allocations: 12 kB / 468.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.1326, allocations: 7.984 kB / 468.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004/0.133, allocations: 262 kB / 468.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001667/0.1347, allocations: 1.442 MB / 470.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002345/0.1349, allocations: 153 kB / 470.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.135, allocations: 81.73 kB / 470.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.1351, allocations: 4 kB / 470.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.1351, allocations: 30.56 kB / 470.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/0.1351, allocations: 0 / 470.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001102/0.1362, allocations: 0.683 MB / 471.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.1363, allocations: 77.11 kB / 471.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002946/0.1366, allocations: 300.5 kB / 471.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.1366, allocations: 25.7 kB / 471.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.1368, allocations: 215.6 kB / 471.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.756e-05/0.1368, allocations: 59.19 kB / 471.9 MB, free: 11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.389e-05/0.1368, allocations: 8 kB / 471.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.137, allocations: 342.8 kB / 472.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.1371, allocations: 67.95 kB / 472.3 MB, free: 10.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.1373, allocations: 164.8 kB / 472.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.1374, allocations: 99.83 kB / 472.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.1374, allocations: 4 kB / 472.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004138/0.1379, allocations: 283.9 kB / 472.9 MB, free: 9.992 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.1379, allocations: 8 kB / 472.9 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.1379, allocations: 4.438 kB / 472.9 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.1379, allocations: 8 kB / 472.9 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002433/0.1382, allocations: 59.91 kB / 472.9 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.1382, allocations: 4 kB / 473 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.1383, allocations: 15.98 kB / 473 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.1384, allocations: 8 kB / 473 MB, free: 9.887 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001615/0.1385, allocations: 173.6 kB / 473.1 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.033e-05/0.1386, allocations: 31.62 kB / 473.2 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003716/0.139, allocations: 235.5 kB / 473.4 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.139, allocations: 3.938 kB / 473.4 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.139, allocations: 0 / 473.4 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.139, allocations: 4 kB / 473.4 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007119/0.1397, allocations: 0.6201 MB / 474 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.1397, allocations: 0 / 474 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001795/0.1399, allocations: 35.97 kB / 474.1 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.337e-05/0.1399, allocations: 4 kB / 474.1 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.14, allocations: 4 kB / 474.1 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.14, allocations: 8.031 kB / 474.1 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.14, allocations: 4 kB / 474.1 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004953/0.1405, allocations: 430.2 kB / 474.5 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.356e-05/0.1406, allocations: 104.8 kB / 474.6 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.738e-05/0.1406, allocations: 4 kB / 474.6 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.1408, allocations: 12.06 kB / 474.6 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.201e-05/0.1408, allocations: 11.98 kB / 474.6 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.1408, allocations: 7.984 kB / 474.6 MB, free: 8.102 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002095/0.141, allocations: 211.1 kB / 474.9 MB, free: 7.895 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1411, allocations: 0 / 474.9 MB, free: 7.895 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003342/0.1414, allocations: 56 kB / 474.9 MB, free: 7.84 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001091/0.1415, allocations: 99.19 kB / 475 MB, free: 7.734 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003192/0.1418, allocations: 195.6 kB / 475.2 MB, free: 7.543 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.1419, allocations: 4 kB / 475.2 MB, free: 7.539 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.142, allocations: 83.89 kB / 475.3 MB, free: 7.457 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004688/0.1425, allocations: 69.53 kB / 475.3 MB, free: 7.391 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.1436, allocations: 0.8347 MB / 476.2 MB, free: 6.516 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003995/0.144, allocations: 0.8028 MB / 477 MB, free: 5.684 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.307e-05/0.1441, allocations: 35.42 kB / 477 MB, free: 5.648 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1441, allocations: 0 / 477 MB, free: 5.648 MB / 350.1 MB Notification: Performance of Templates: time 0.006036/0.1501, allocations: 3.816 MB / 480.8 MB, free: 1.84 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadACCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadACCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadACCalcHelperMain.o] Error 1