Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009868/0.0009868, allocations: 108 kB / 17.16 MB, free: 6.082 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.0009858/0.0009859, allocations: 198.9 kB / 18.08 MB, free: 5.285 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.381/1.381, allocations: 222.9 MB / 241.7 MB, free: 15.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1621/0.1621, allocations: 38.02 MB / 329.9 MB, free: 9.039 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001051/0.001052, allocations: 61.64 kB / 398.7 MB, free: 34.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1281, allocations: 58.06 MB / 456.8 MB, free: 8.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.006373/0.1346, allocations: 4.987 MB / 461.8 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001803/0.1364, allocations: 1.126 MB / 462.9 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002064/0.1366, allocations: 23.88 kB / 462.9 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002067/0.1369, allocations: 43.62 kB / 463 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005418/0.1374, allocations: 219.1 kB / 463.2 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.1377, allocations: 91.91 kB / 463.3 MB, free: 1.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006781/0.1383, allocations: 0.8065 MB / 464.1 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002356/0.1386, allocations: 126.9 kB / 464.2 MB, free: 1.051 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002544/0.1389, allocations: 187.1 kB / 464.4 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004168/0.1393, allocations: 279.1 kB / 464.7 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.331e-05/0.1393, allocations: 16 kB / 464.7 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.977e-05/0.1394, allocations: 16 kB / 464.7 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.1396, allocations: 151.6 kB / 464.8 MB, free: 424 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001779/0.1398, allocations: 171.1 kB / 465 MB, free: 252 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.14, allocations: 271.4 kB / 465.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.14, allocations: 0 / 465.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.14, allocations: 0 / 465.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.1401, allocations: 4 kB / 465.3 MB, free: 15.97 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001192/0.1413, allocations: 0.6633 MB / 465.9 MB, free: 15.26 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.1413, allocations: 8.031 kB / 465.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.685e-05/0.1414, allocations: 36.47 kB / 466 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004669/0.1419, allocations: 359.8 kB / 466.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.1419, allocations: 24.69 kB / 466.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.981e-05/0.1419, allocations: 24 kB / 466.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004911/0.1424, allocations: 356.7 kB / 466.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.1425, allocations: 7.922 kB / 466.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.746e-05/0.1425, allocations: 12 kB / 466.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001009/0.1426, allocations: 24.53 kB / 466.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003674/0.143, allocations: 242 kB / 467 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001547/0.1445, allocations: 1.374 MB / 468.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003528/0.1449, allocations: 161.1 kB / 468.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002022/0.1451, allocations: 101.7 kB / 468.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.1451, allocations: 0 / 468.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.1452, allocations: 42.48 kB / 468.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.1452, allocations: 4 kB / 468.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001306/0.1465, allocations: 0.7541 MB / 469.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/0.1466, allocations: 85.05 kB / 469.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002794/0.1469, allocations: 304.5 kB / 469.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.1469, allocations: 33.64 kB / 469.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.147, allocations: 215.5 kB / 470.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.1471, allocations: 47.36 kB / 470.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.642e-05/0.1472, allocations: 49.61 kB / 470.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1473, allocations: 342.8 kB / 470.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.1474, allocations: 63.97 kB / 470.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/0.1476, allocations: 168.8 kB / 470.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003118/0.1479, allocations: 263.4 kB / 471 MB, free: 9.812 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1479, allocations: 4 kB / 471 MB, free: 9.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004549/0.1484, allocations: 317.8 kB / 471.3 MB, free: 9.488 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.1484, allocations: 8 kB / 471.3 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.1484, allocations: 0 / 471.3 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002028/0.1487, allocations: 52.81 kB / 471.4 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.1488, allocations: 47.92 kB / 471.4 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001266/0.1501, allocations: 1.495 MB / 472.9 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.1503, allocations: 8 kB / 472.9 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.1503, allocations: 24.08 kB / 472.9 MB, free: 7.715 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001689/0.1505, allocations: 174.8 kB / 473.1 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.042e-05/0.1505, allocations: 27.62 kB / 473.1 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003901/0.1509, allocations: 232.3 kB / 473.3 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1509, allocations: 4 kB / 473.4 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1509, allocations: 7.938 kB / 473.4 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.151, allocations: 3.984 kB / 473.4 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008064/0.1518, allocations: 0.6439 MB / 474 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.1518, allocations: 4 kB / 474 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.1519, allocations: 23.92 kB / 474 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001759/0.1521, allocations: 52.8 kB / 474.1 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.1521, allocations: 8 kB / 474.1 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001291/0.1534, allocations: 1.487 MB / 475.6 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1534, allocations: 4.156 kB / 475.6 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005003/0.1539, allocations: 408.6 kB / 476 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.994e-05/0.154, allocations: 104.7 kB / 476.1 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.669e-05/0.154, allocations: 11.92 kB / 476.1 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.1542, allocations: 4 kB / 476.1 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.1542, allocations: 19.98 kB / 476.1 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.1542, allocations: 11.98 kB / 476.1 MB, free: 4.246 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001889/0.1544, allocations: 207.1 kB / 476.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1544, allocations: 0 / 476.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003544/0.1548, allocations: 64 kB / 476.4 MB, free: 3.984 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001198/0.1549, allocations: 99.25 kB / 476.5 MB, free: 3.879 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000529/0.1555, allocations: 306.4 kB / 476.8 MB, free: 3.566 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1555, allocations: 3.938 kB / 476.8 MB, free: 3.562 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003138/0.1558, allocations: 203.5 kB / 477 MB, free: 3.352 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004838/0.1563, allocations: 64.67 kB / 477.1 MB, free: 3.289 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.1575, allocations: 0.8971 MB / 478 MB, free: 2.355 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.1579, allocations: 0.8067 MB / 478.8 MB, free: 1.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.604e-05/0.158, allocations: 19.44 kB / 478.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.158, allocations: 0 / 478.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of Templates: time 0.006708/0.1647, allocations: 4.857 MB / 483.6 MB, free: 12.65 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceCalcHelperMain.o] Error 1