Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.PMeterTest,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Test_PMeterTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.PMeterTest,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Test_PMeterTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001653/0.001653, allocations: 184 kB / 15.77 MB, free: 6.375 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.992/1.992, allocations: 205.4 MB / 221.9 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 94.86 kB / 270.2 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2864/0.2864, allocations: 38.05 MB / 356.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004541/0.0004542, allocations: 12 kB / 422.8 MB, free: 26.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1112, allocations: 56.33 MB / 479.1 MB, free: 1.938 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.005041/0.1163, allocations: 3.109 MB / 482.2 MB, free: 14.81 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003094/0.1194, allocations: 1.467 MB / 483.7 MB, free: 13.33 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001967/0.1197, allocations: 11.94 kB / 483.7 MB, free: 13.32 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000178/0.1199, allocations: 43.75 kB / 483.8 MB, free: 13.28 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007613/0.1206, allocations: 171.4 kB / 483.9 MB, free: 13.11 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004136/0.1211, allocations: 99.67 kB / 484 MB, free: 13.01 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003216/0.1214, allocations: 151.7 kB / 484.2 MB, free: 12.86 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008057/0.1222, allocations: 307.1 kB / 484.5 MB, free: 12.55 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002717/0.1225, allocations: 107.6 kB / 484.6 MB, free: 12.44 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/0.1227, allocations: 79.73 kB / 484.7 MB, free: 12.36 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.541e-05/0.1228, allocations: 11.98 kB / 484.7 MB, free: 12.35 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005374/0.1233, allocations: 159.7 kB / 484.8 MB, free: 12.2 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.1235, allocations: 83.78 kB / 484.9 MB, free: 12.11 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.058e-05/0.1236, allocations: 61.58 kB / 485 MB, free: 12.05 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005139/0.1241, allocations: 255.4 kB / 485.2 MB, free: 11.8 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1241, allocations: 0 / 485.2 MB, free: 11.8 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1241, allocations: 0 / 485.2 MB, free: 11.8 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1241, allocations: 4 kB / 485.2 MB, free: 11.79 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008088/0.125, allocations: 482.6 kB / 485.7 MB, free: 11.27 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.125, allocations: 8.031 kB / 485.7 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.602e-05/0.1251, allocations: 54.55 kB / 485.8 MB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/0.1265, allocations: 123.5 kB / 485.9 MB, free: 11.08 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004522/0.1269, allocations: 255.1 kB / 486.1 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.127, allocations: 12 kB / 486.1 MB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.156e-05/0.1271, allocations: 24 kB / 486.2 MB, free: 10.76 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007485/0.1278, allocations: 322.3 kB / 486.5 MB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.1278, allocations: 3.938 kB / 486.5 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.921e-05/0.1279, allocations: 4 kB / 486.5 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.636e-05/0.1279, allocations: 19.92 kB / 486.5 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007536/0.1287, allocations: 307.6 kB / 486.8 MB, free: 10.09 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002505/0.1312, allocations: 1.293 MB / 488.1 MB, free: 8.699 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004487/0.1317, allocations: 210.3 kB / 488.3 MB, free: 8.457 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.1318, allocations: 0 / 488.3 MB, free: 8.457 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.1318, allocations: 38.75 kB / 488.3 MB, free: 8.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.983e-06/0.1318, allocations: 0 / 488.3 MB, free: 8.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004345/0.1323, allocations: 137.5 kB / 488.5 MB, free: 8.27 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/0.1323, allocations: 81.11 kB / 488.6 MB, free: 8.172 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002846/0.1326, allocations: 211.7 kB / 488.8 MB, free: 7.953 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.1327, allocations: 29.7 kB / 488.8 MB, free: 7.918 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.1328, allocations: 230 kB / 489 MB, free: 7.688 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.01e-05/0.1329, allocations: 31.56 kB / 489 MB, free: 7.656 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.249e-05/0.1329, allocations: 4 kB / 489 MB, free: 7.652 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1331, allocations: 322.8 kB / 489.4 MB, free: 7.328 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.1332, allocations: 43.94 kB / 489.4 MB, free: 7.285 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001893/0.1334, allocations: 136.7 kB / 489.5 MB, free: 7.105 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.1336, allocations: 55.92 kB / 489.6 MB, free: 7.051 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.1336, allocations: 8 kB / 489.6 MB, free: 7.043 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000454/0.134, allocations: 193.2 kB / 489.8 MB, free: 6.848 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.1341, allocations: 4 kB / 489.8 MB, free: 6.844 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.1341, allocations: 4.469 kB / 489.8 MB, free: 6.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.1341, allocations: 12.38 kB / 489.8 MB, free: 6.828 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003079/0.1344, allocations: 55.91 kB / 489.9 MB, free: 6.773 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.885e-05/0.1345, allocations: 7.938 kB / 489.9 MB, free: 6.766 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001961/0.1347, allocations: 23.69 kB / 489.9 MB, free: 6.742 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.1347, allocations: 15.94 kB / 489.9 MB, free: 6.727 MB / 330.7 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 (23): * Single equations (assignments): 23 * 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.0002094/0.1349, allocations: 157.7 kB / 490.1 MB, free: 6.562 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.192e-05/0.135, allocations: 15.81 kB / 490.1 MB, free: 6.547 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002963/0.1353, allocations: 115 kB / 490.2 MB, free: 6.434 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.1353, allocations: 4 kB / 490.2 MB, free: 6.43 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1353, allocations: 4 kB / 490.2 MB, free: 6.426 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.1354, allocations: 3.984 kB / 490.2 MB, free: 6.422 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.1365, allocations: 0.5681 MB / 490.8 MB, free: 5.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.1365, allocations: 0 / 490.8 MB, free: 5.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.1366, allocations: 19.98 kB / 490.8 MB, free: 5.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/0.1367, allocations: 4 kB / 490.8 MB, free: 5.746 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.1367, allocations: 11.95 kB / 490.8 MB, free: 5.734 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.488e-06/0.1367, allocations: 4 kB / 490.8 MB, free: 5.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.1367, allocations: 7.938 kB / 490.8 MB, free: 5.723 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004627/0.1372, allocations: 409.2 kB / 491.2 MB, free: 5.215 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.1373, allocations: 100.9 kB / 491.3 MB, free: 5.098 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.343e-05/0.1374, allocations: 4 kB / 491.3 MB, free: 5.094 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.1375, allocations: 4.062 kB / 491.3 MB, free: 5.09 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.814e-05/0.1376, allocations: 19.94 kB / 491.3 MB, free: 5.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.1376, allocations: 4 kB / 491.4 MB, free: 5.066 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002007/0.1378, allocations: 153.5 kB / 491.5 MB, free: 4.918 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1379, allocations: 0 / 491.5 MB, free: 4.918 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004921/0.1384, allocations: 51.84 kB / 491.6 MB, free: 4.867 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 10 * 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.001116/0.1395, allocations: 1.612 MB / 493.2 MB, free: 3.16 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003411/0.1398, allocations: 111.8 kB / 493.3 MB, free: 3.051 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1399, allocations: 3.938 kB / 493.3 MB, free: 3.047 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.14, allocations: 53.28 kB / 493.3 MB, free: 2.996 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004077/0.1404, allocations: 27.94 kB / 493.4 MB, free: 2.969 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003305/0.1437, allocations: 3.34 MB / 496.7 MB, free: 15.48 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000439/0.1442, allocations: 0.7595 MB / 497.5 MB, free: 14.69 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/0.1444, allocations: 55.42 kB / 497.5 MB, free: 14.64 MB / 346.7 MB Notification: Performance of SimCode: time 1.172e-06/0.1444, allocations: 3.938 kB / 497.5 MB, free: 14.63 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.439/2.584, allocations: 3.123 MB / 0.4889 GB, free: 11.5 MB / 346.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_Generic_Test_PMeterTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_Generic_Test_PMeterTest.fmu > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest.pipe 2>&1)