Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 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: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007951/0.0007952, allocations: 91.33 kB / 16.31 MB, free: 5.621 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.00114/0.00114, allocations: 180.6 kB / 17.21 MB, free: 5.539 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.615/1.615, allocations: 205.4 MB / 223.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3011/0.3011, allocations: 38.06 MB / 309.7 MB, free: 8.809 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005828/0.0005829, allocations: 18.17 kB / 376.6 MB, free: 15.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1184, allocations: 56.33 MB / 433 MB, free: 6.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.003829/0.1222, allocations: 3.203 MB / 436.2 MB, free: 3.367 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.124, allocations: 1.514 MB / 437.7 MB, free: 1.844 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.1242, allocations: 11.94 kB / 437.7 MB, free: 1.832 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001645/0.1243, allocations: 43.64 kB / 437.7 MB, free: 1.789 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005123/0.1249, allocations: 231 kB / 438 MB, free: 1.562 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002415/0.1251, allocations: 95.75 kB / 438 MB, free: 1.469 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004294/0.1256, allocations: 446.8 kB / 438.5 MB, free: 1.031 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005672/0.1261, allocations: 307.2 kB / 438.8 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001786/0.1263, allocations: 123.4 kB / 438.9 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.1266, allocations: 159.4 kB / 439.1 MB, free: 444 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.1266, allocations: 8 kB / 439.1 MB, free: 436 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000282/0.1269, allocations: 171.5 kB / 439.2 MB, free: 264 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.479e-05/0.127, allocations: 87.75 kB / 439.3 MB, free: 176 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.352e-05/0.127, allocations: 61.64 kB / 439.4 MB, free: 108 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002675/0.1273, allocations: 259.4 kB / 439.6 MB, free: 15.85 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1273, allocations: 0 / 439.6 MB, free: 15.85 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1273, allocations: 4 kB / 439.6 MB, free: 15.85 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.1273, allocations: 0 / 439.6 MB, free: 15.85 MB / 382.1 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.0006524/0.128, allocations: 490.4 kB / 440.1 MB, free: 15.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.128, allocations: 12.03 kB / 440.1 MB, free: 15.31 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.533e-05/0.1281, allocations: 54.52 kB / 440.2 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008398/0.1289, allocations: 103.6 kB / 440.3 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002757/0.1292, allocations: 258.6 kB / 440.5 MB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.1293, allocations: 19.98 kB / 440.6 MB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.658e-05/0.1293, allocations: 16 kB / 440.6 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004557/0.1298, allocations: 321.6 kB / 440.9 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.1298, allocations: 3.938 kB / 440.9 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.787e-05/0.1298, allocations: 19.94 kB / 440.9 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.453e-05/0.1299, allocations: 16 kB / 440.9 MB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004608/0.1303, allocations: 315.6 kB / 441.2 MB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.1318, allocations: 1.256 MB / 442.5 MB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002558/0.1321, allocations: 165 kB / 442.6 MB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.1323, allocations: 105.7 kB / 442.8 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.1323, allocations: 0 / 442.8 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.1324, allocations: 34.56 kB / 442.8 MB, free: 12.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.513e-06/0.1324, allocations: 0 / 442.8 MB, free: 12.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.001409/0.1338, allocations: 0.6744 MB / 443.5 MB, free: 11.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.1338, allocations: 77.11 kB / 443.5 MB, free: 11.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.134, allocations: 190.2 kB / 443.7 MB, free: 11.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.1341, allocations: 33.64 kB / 443.8 MB, free: 11.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.964e-05/0.1342, allocations: 156 kB / 443.9 MB, free: 11.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.653e-05/0.1342, allocations: 59.11 kB / 444 MB, free: 11.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.259e-05/0.1342, allocations: 4 kB / 444 MB, free: 11.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.1344, allocations: 330.8 kB / 444.3 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.1345, allocations: 87.98 kB / 444.4 MB, free: 10.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.1347, allocations: 140.5 kB / 444.5 MB, free: 10.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.1348, allocations: 108 kB / 444.6 MB, free: 10.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1348, allocations: 7.875 kB / 444.6 MB, free: 10.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000552/0.1354, allocations: 346.1 kB / 445 MB, free: 10.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.1354, allocations: 8 kB / 445 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.1354, allocations: 7.938 kB / 445 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003354/0.1358, allocations: 92.78 kB / 445.1 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.136, allocations: 39.92 kB / 445.1 MB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002161/0.1381, allocations: 1.94 MB / 447 MB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.1383, allocations: 7.984 kB / 447.1 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.1383, allocations: 16.06 kB / 447.1 MB, free: 7.91 MB / 382.1 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.0001438/0.1384, allocations: 161.6 kB / 447.2 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.236e-05/0.1385, allocations: 19.72 kB / 447.2 MB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005684/0.1391, allocations: 316.1 kB / 447.6 MB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.1391, allocations: 7.953 kB / 447.6 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.1391, allocations: 0 / 447.6 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.1391, allocations: 7.984 kB / 447.6 MB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.1402, allocations: 0.739 MB / 448.3 MB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.1402, allocations: 0 / 448.3 MB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.1403, allocations: 31.92 kB / 448.3 MB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002434/0.1406, allocations: 76.78 kB / 448.4 MB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.1406, allocations: 11.95 kB / 448.4 MB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001686/0.1423, allocations: 1.822 MB / 450.3 MB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.1423, allocations: 4.031 kB / 450.3 MB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005352/0.1428, allocations: 410.5 kB / 450.7 MB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.245e-05/0.1429, allocations: 88.92 kB / 450.7 MB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.1429, allocations: 8 kB / 450.8 MB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.1431, allocations: 15.98 kB / 450.8 MB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/0.1431, allocations: 11.94 kB / 450.8 MB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.1431, allocations: 8 kB / 450.8 MB, free: 3.926 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001107/0.1432, allocations: 144.3 kB / 450.9 MB, free: 3.785 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1433, allocations: 0 / 450.9 MB, free: 3.785 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004294/0.1437, allocations: 64 kB / 451 MB, free: 3.723 MB / 382.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 (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.0007719/0.1445, allocations: 0.9341 MB / 451.9 MB, free: 2.746 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006154/0.1451, allocations: 382.3 kB / 452.3 MB, free: 2.359 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1451, allocations: 0 / 452.3 MB, free: 2.359 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003469/0.1455, allocations: 255.1 kB / 452.5 MB, free: 2.098 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.1458, allocations: 32.23 kB / 452.6 MB, free: 2.066 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001937/0.1478, allocations: 1.456 MB / 454 MB, free: 0.5234 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2135/0.3613, allocations: 0.7657 MB / 454.8 MB, free: 50.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001573/0.3615, allocations: 40.53 kB / 454.8 MB, free: 50.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.3617, allocations: 58.23 kB / 454.9 MB, free: 50.1 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3617, allocations: 0 / 454.9 MB, free: 50.1 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01846/0.3801, allocations: 4.712 MB / 459.6 MB, free: 49.8 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000168/0.3803, allocations: 217 kB / 459.8 MB, free: 49.56 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.773/2.154, allocations: 4 kB / 459.8 MB, free: 49.56 MB / 382.1 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1) Environment - environmentSimulation: