Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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.Generic.Test.InductiveLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest") translateModel(PowerSystems.Examples.Generic.Test.InductiveLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007098/0.0007098, allocations: 92.25 kB / 16.95 MB, free: 5.953 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.0007895/0.0007896, allocations: 181.6 kB / 17.84 MB, free: 5.613 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.316/1.316, allocations: 223.2 MB / 241.9 MB, free: 320 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1719/0.1719, allocations: 38.1 MB / 331.1 MB, free: 8.867 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003214/0.0003214, allocations: 8.844 kB / 400.7 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1159, allocations: 59.17 MB / 459.9 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.004307/0.1203, allocations: 3.64 MB / 463.5 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002577/0.1229, allocations: 1.746 MB / 465.3 MB, free: 2.016 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.1231, allocations: 11.94 kB / 465.3 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001843/0.1233, allocations: 47.62 kB / 465.3 MB, free: 1.957 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007405/0.124, allocations: 314.8 kB / 465.6 MB, free: 1.648 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.1243, allocations: 115.7 kB / 465.7 MB, free: 1.535 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006333/0.1249, allocations: 0.6311 MB / 466.4 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007741/0.1257, allocations: 398.6 kB / 466.8 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002385/0.126, allocations: 175.2 kB / 466.9 MB, free: 332 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002766/0.1263, allocations: 227.2 kB / 467.1 MB, free: 104 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.572e-05/0.1263, allocations: 12 kB / 467.2 MB, free: 92 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004118/0.1267, allocations: 243.4 kB / 467.4 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001384/0.1269, allocations: 147.6 kB / 467.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.383e-05/0.1269, allocations: 77.58 kB / 467.6 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004053/0.1274, allocations: 355.2 kB / 468 MB, free: 15.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1274, allocations: 0 / 468 MB, free: 15.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1274, allocations: 0 / 468 MB, free: 15.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.1274, allocations: 0 / 468 MB, free: 15.28 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0007581/0.1281, allocations: 0.5456 MB / 468.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.1282, allocations: 8.031 kB / 468.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/0.1293, allocations: 139.5 kB / 468.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003303/0.1296, allocations: 288 kB / 468.9 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.1296, allocations: 20.55 kB / 469 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.549e-05/0.1297, allocations: 24 kB / 469 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006243/0.1303, allocations: 435.6 kB / 469.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.1304, allocations: 3.938 kB / 469.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.007e-05/0.1304, allocations: 12 kB / 469.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.206e-05/0.1304, allocations: 28.48 kB / 469.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005709/0.131, allocations: 421.9 kB / 469.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00201/0.133, allocations: 1.729 MB / 471.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003601/0.1334, allocations: 294.7 kB / 471.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.1336, allocations: 130 kB / 472 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.114e-05/0.1336, allocations: 4.188 kB / 472 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.961e-05/0.1337, allocations: 38.75 kB / 472 MB, free: 10.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.903e-06/0.1337, allocations: 0 / 472 MB, free: 10.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001685/0.1354, allocations: 0.7858 MB / 472.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.455e-05/0.1355, allocations: 89.05 kB / 472.9 MB, free: 9.977 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.1357, allocations: 210.9 kB / 473.1 MB, free: 9.762 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.1357, allocations: 29.7 kB / 473.1 MB, free: 9.727 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.1358, allocations: 180 kB / 473.3 MB, free: 9.547 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.329e-05/0.1359, allocations: 78.89 kB / 473.4 MB, free: 9.469 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.631e-05/0.1359, allocations: 8 kB / 473.4 MB, free: 9.461 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.1361, allocations: 330.9 kB / 473.7 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.1362, allocations: 108.5 kB / 473.8 MB, free: 9.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.1364, allocations: 208.9 kB / 474 MB, free: 8.773 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.1366, allocations: 135.9 kB / 474.2 MB, free: 8.641 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.1366, allocations: 7.953 kB / 474.2 MB, free: 8.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006783/0.1373, allocations: 424.7 kB / 474.6 MB, free: 8.211 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.1374, allocations: 4.406 kB / 474.6 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.1374, allocations: 11.95 kB / 474.6 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003845/0.1378, allocations: 92.8 kB / 474.7 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.138, allocations: 59.89 kB / 474.8 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001836/0.1398, allocations: 1.78 MB / 476.5 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.14, allocations: 15.98 kB / 476.6 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.685e-05/0.14, allocations: 16.06 kB / 476.6 MB, free: 6.102 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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): 28 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001958/0.1402, allocations: 181.6 kB / 476.8 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.727e-05/0.1403, allocations: 27.66 kB / 476.8 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006889/0.141, allocations: 380.8 kB / 477.2 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.141, allocations: 11.98 kB / 477.2 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.141, allocations: 4 kB / 477.2 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.141, allocations: 0 / 477.2 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.1423, allocations: 0.9137 MB / 478.1 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.1424, allocations: 0 / 478.1 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.1425, allocations: 40.16 kB / 478.1 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002393/0.1428, allocations: 72.8 kB / 478.2 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.1428, allocations: 3.953 kB / 478.2 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001608/0.1444, allocations: 1.717 MB / 479.9 MB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1444, allocations: 7.875 kB / 479.9 MB, free: 2.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006327/0.1451, allocations: 454.5 kB / 480.4 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.05e-05/0.1451, allocations: 100.8 kB / 480.5 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.1452, allocations: 4 kB / 480.5 MB, free: 1.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.1453, allocations: 15.98 kB / 480.5 MB, free: 1.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.1454, allocations: 19.92 kB / 480.5 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.1454, allocations: 8 kB / 480.5 MB, free: 1.883 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001318/0.1455, allocations: 152.6 kB / 480.7 MB, free: 1.734 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1455, allocations: 0 / 480.7 MB, free: 1.734 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000486/0.146, allocations: 84 kB / 480.7 MB, free: 1.652 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (22): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001128/0.1461, allocations: 106.6 kB / 480.8 MB, free: 1.543 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006775/0.1468, allocations: 423 kB / 481.3 MB, free: 1.117 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1468, allocations: 0 / 481.3 MB, free: 1.117 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003904/0.1472, allocations: 282.4 kB / 481.5 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.1476, allocations: 39.97 kB / 481.6 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.1487, allocations: 0.7622 MB / 482.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.1491, allocations: 0.8064 MB / 483.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.873e-05/0.1491, allocations: 23.42 kB / 483.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of SimCode: time 5.2e-07/0.1491, allocations: 0 / 483.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of Templates: time 0.006328/0.1555, allocations: 4.359 MB / 487.5 MB, free: 10.76 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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.Generic.Test.InductiveLoadTestCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTestCalcHelperMain.o] Error 1