Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest.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.FixedLoadTest,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Test_FixedLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedLoadTest,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Test_FixedLoadTest",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.001472/0.001472, allocations: 182.9 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.983/1.983, 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.001137/0.001137, allocations: 106.8 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.2686/0.2686, allocations: 38.05 MB / 356.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004558/0.000456, allocations: 12 kB / 422.8 MB, free: 26.33 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1081, allocations: 56.33 MB / 479.1 MB, free: 1.938 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.005344/0.1135, allocations: 3.132 MB / 482.3 MB, free: 14.79 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00325/0.1168, allocations: 1.475 MB / 483.7 MB, free: 13.3 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002255/0.1171, allocations: 11.94 kB / 483.7 MB, free: 13.29 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002388/0.1173, allocations: 35.75 kB / 483.8 MB, free: 13.25 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008098/0.1181, allocations: 183.4 kB / 484 MB, free: 13.07 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000463/0.1186, allocations: 103.7 kB / 484.1 MB, free: 12.97 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000364/0.119, allocations: 163.7 kB / 484.2 MB, free: 12.81 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008898/0.1199, allocations: 303.1 kB / 484.5 MB, free: 12.5 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000321/0.1202, allocations: 119.5 kB / 484.6 MB, free: 12.38 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002147/0.1205, allocations: 71.75 kB / 484.7 MB, free: 12.31 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.156e-05/0.1205, allocations: 8 kB / 484.7 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005578/0.1211, allocations: 163.7 kB / 484.9 MB, free: 12.14 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001639/0.1213, allocations: 87.78 kB / 485 MB, free: 12.06 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.1214, allocations: 61.58 kB / 485 MB, free: 11.99 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00054/0.1219, allocations: 247.5 kB / 485.3 MB, free: 11.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.122, allocations: 0 / 485.3 MB, free: 11.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.122, allocations: 0 / 485.3 MB, free: 11.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.122, allocations: 4 kB / 485.3 MB, free: 11.75 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.0008563/0.1229, allocations: 494.5 kB / 485.7 MB, free: 11.21 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.1229, allocations: 8.031 kB / 485.8 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.221e-05/0.123, allocations: 54.53 kB / 485.8 MB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001445/0.1245, allocations: 119.5 kB / 485.9 MB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004911/0.125, allocations: 258.4 kB / 486.2 MB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.98e-05/0.125, allocations: 19.98 kB / 486.2 MB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.384e-05/0.1251, allocations: 16 kB / 486.2 MB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008118/0.1259, allocations: 333.6 kB / 486.5 MB, free: 10.35 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.126, allocations: 3.984 kB / 486.5 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.957e-05/0.126, allocations: 8 kB / 486.6 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.283e-05/0.1261, allocations: 15.98 kB / 486.6 MB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008156/0.1269, allocations: 311.7 kB / 486.9 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002677/0.1296, allocations: 1.26 MB / 488.1 MB, free: 8.668 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004413/0.1301, allocations: 161.1 kB / 488.3 MB, free: 8.492 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.974e-05/0.1301, allocations: 8.062 kB / 488.3 MB, free: 8.484 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.1302, allocations: 34.5 kB / 488.3 MB, free: 8.441 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 3.036e-06/0.1302, allocations: 7.938 kB / 488.3 MB, free: 8.434 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.002464/0.1327, allocations: 0.6583 MB / 489 MB, free: 7.746 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.079e-05/0.1328, allocations: 85.11 kB / 489.1 MB, free: 7.645 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002843/0.1331, allocations: 194.2 kB / 489.3 MB, free: 7.441 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.893e-05/0.1332, allocations: 29.7 kB / 489.3 MB, free: 7.406 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.1333, allocations: 214.5 kB / 489.5 MB, free: 7.195 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.014e-05/0.1334, allocations: 59.11 kB / 489.6 MB, free: 7.137 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.025e-05/0.1334, allocations: 8 kB / 489.6 MB, free: 7.129 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1336, allocations: 318.8 kB / 489.9 MB, free: 6.809 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002241/0.1338, allocations: 83.95 kB / 490 MB, free: 6.727 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002769/0.1341, allocations: 148.5 kB / 490.1 MB, free: 6.551 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002817/0.1344, allocations: 104 kB / 490.2 MB, free: 6.449 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1344, allocations: 0 / 490.2 MB, free: 6.449 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001055/0.1355, allocations: 341.3 kB / 490.5 MB, free: 6.109 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/0.1355, allocations: 11.98 kB / 490.6 MB, free: 6.098 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.1356, allocations: 0 / 490.6 MB, free: 6.098 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006032/0.1362, allocations: 97 kB / 490.7 MB, free: 6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003025/0.1365, allocations: 39.98 kB / 490.7 MB, free: 5.961 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003728/0.1402, allocations: 2.037 MB / 492.7 MB, free: 3.773 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002634/0.1405, allocations: 15.98 kB / 492.7 MB, free: 3.758 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.315e-05/0.1406, allocations: 8 kB / 492.8 MB, free: 3.75 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 20 * 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: 0 * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002381/0.1408, allocations: 157.8 kB / 492.9 MB, free: 3.586 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.548e-05/0.1409, allocations: 19.77 kB / 492.9 MB, free: 3.566 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/0.142, allocations: 324 kB / 493.2 MB, free: 3.246 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.142, allocations: 0 / 493.2 MB, free: 3.246 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.142, allocations: 4 kB / 493.2 MB, free: 3.242 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.142, allocations: 3.953 kB / 493.3 MB, free: 3.238 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001983/0.144, allocations: 0.789 MB / 494 MB, free: 2.371 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.1441, allocations: 7.938 kB / 494 MB, free: 2.363 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002175/0.1443, allocations: 27.92 kB / 494.1 MB, free: 2.336 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004787/0.1448, allocations: 76.78 kB / 494.2 MB, free: 2.258 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/0.1448, allocations: 4 kB / 494.2 MB, free: 2.254 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003172/0.148, allocations: 1.869 MB / 496 MB, free: 252 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.1481, allocations: 0 / 496 MB, free: 252 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.1492, allocations: 439.7 kB / 496.5 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.1493, allocations: 104.8 kB / 496.6 MB, free: 15.65 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/0.1494, allocations: 4 kB / 496.6 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.1496, allocations: 8 kB / 496.6 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.652e-05/0.1497, allocations: 23.91 kB / 496.6 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/0.1497, allocations: 8 kB / 496.6 MB, free: 15.61 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001876/0.1499, allocations: 144.1 kB / 496.7 MB, free: 15.46 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.1499, allocations: 0 / 496.7 MB, free: 15.46 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006581/0.1506, allocations: 68 kB / 496.8 MB, free: 15.4 MB / 346.7 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 (16): * Single equations (assignments): 14 * 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: 0 * Non-linear torn systems: 1 {2 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001442/0.1521, allocations: 1.18 MB / 498 MB, free: 14.17 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001139/0.1532, allocations: 372.2 kB / 498.3 MB, free: 13.79 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.1533, allocations: 0 / 498.3 MB, free: 13.79 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006597/0.1539, allocations: 255.2 kB / 498.6 MB, free: 13.53 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.1544, allocations: 28.17 kB / 498.6 MB, free: 13.5 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004212/0.1586, allocations: 2.836 MB / 0.4897 GB, free: 10.57 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004845/0.1591, allocations: 0.775 MB / 0.4905 GB, free: 9.766 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001825/0.1593, allocations: 63.42 kB / 0.4905 GB, free: 9.703 MB / 346.7 MB Notification: Performance of SimCode: time 1.292e-06/0.1593, allocations: 0 / 0.4905 GB, free: 9.703 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.677/2.836, allocations: 4.424 MB / 0.4948 GB, free: 5.273 MB / 346.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_Generic_Test_FixedLoadTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_Generic_Test_FixedLoadTest.fmu > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1)