Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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 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: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedLoadTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_FixedLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedLoadTest,fileNamePrefix="PowerSystems_latest_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.0007815/0.0007818, allocations: 84.77 kB / 16.31 MB, free: 6.465 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.0008748/0.0008749, allocations: 176.8 kB / 17.21 MB, free: 6.34 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.492/1.492, allocations: 223.3 MB / 241.2 MB, free: 14.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1925/0.1925, allocations: 38.09 MB / 330.4 MB, free: 8.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003124/0.0003124, allocations: 12.62 kB / 400.2 MB, free: 34.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1345, allocations: 59.17 MB / 459.3 MB, free: 7.309 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.004822/0.1395, allocations: 3.214 MB / 462.5 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002073/0.1416, allocations: 1.459 MB / 464 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001507/0.1418, allocations: 15.94 kB / 464 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001819/0.142, allocations: 35.7 kB / 464.1 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006119/0.1426, allocations: 219.1 kB / 464.3 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002894/0.1429, allocations: 107.7 kB / 464.4 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005042/0.1434, allocations: 446.8 kB / 464.8 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006734/0.1441, allocations: 307.1 kB / 465.1 MB, free: 1.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002134/0.1443, allocations: 123.4 kB / 465.2 MB, free: 1.359 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000244/0.1446, allocations: 155.4 kB / 465.4 MB, free: 1.207 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.596e-05/0.1446, allocations: 8 kB / 465.4 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003743/0.145, allocations: 175.5 kB / 465.6 MB, free: 1.027 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.1451, allocations: 91.75 kB / 465.7 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.79e-05/0.1452, allocations: 61.64 kB / 465.7 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003065/0.1455, allocations: 243.4 kB / 466 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.022e-05/0.1455, allocations: 8 kB / 466 MB, free: 0.625 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1455, allocations: 4 kB / 466 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.1455, allocations: 0 / 466 MB, free: 0.6211 MB / 334.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.0007235/0.1463, allocations: 486.4 kB / 466.4 MB, free: 100 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.1463, allocations: 12.03 kB / 466.5 MB, free: 88 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.629e-05/0.1464, allocations: 58.52 kB / 466.5 MB, free: 20 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000939/0.1473, allocations: 103.6 kB / 466.6 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003229/0.1477, allocations: 252.9 kB / 466.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.1477, allocations: 23.91 kB / 466.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.355e-05/0.1478, allocations: 23.98 kB / 466.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005137/0.1483, allocations: 317.6 kB / 467.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.1483, allocations: 0 / 467.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/0.1483, allocations: 11.98 kB / 467.2 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.849e-05/0.1484, allocations: 12 kB / 467.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004882/0.1489, allocations: 323.6 kB / 467.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001652/0.1505, allocations: 1.264 MB / 468.8 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002691/0.1508, allocations: 165 kB / 469 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.151, allocations: 101.7 kB / 469.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.1511, allocations: 0 / 469.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.1511, allocations: 38.56 kB / 469.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.082e-06/0.1511, allocations: 0 / 469.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.001519/0.1526, allocations: 0.6623 MB / 469.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.957e-05/0.1527, allocations: 81.23 kB / 469.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.1529, allocations: 194.2 kB / 470 MB, free: 12.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.1529, allocations: 25.7 kB / 470.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.782e-05/0.153, allocations: 156 kB / 470.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.616e-05/0.1531, allocations: 63.09 kB / 470.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.109e-05/0.1531, allocations: 7.938 kB / 470.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002732/0.1534, allocations: 330.8 kB / 470.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.1536, allocations: 83.89 kB / 470.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/0.1538, allocations: 153.3 kB / 470.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.154, allocations: 110.2 kB / 471 MB, free: 11.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.154, allocations: 0 / 471 MB, free: 11.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005659/0.1545, allocations: 345.8 kB / 471.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.1546, allocations: 8.281 kB / 471.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.1546, allocations: 7.984 kB / 471.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003658/0.155, allocations: 88.78 kB / 471.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.1551, allocations: 39.92 kB / 471.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00247/0.1576, allocations: 1.953 MB / 473.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.1578, allocations: 11.98 kB / 473.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/0.1579, allocations: 8 kB / 473.4 MB, free: 8.68 MB / 350.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.0002227/0.1581, allocations: 165.7 kB / 473.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.53e-05/0.1582, allocations: 15.81 kB / 473.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006161/0.1588, allocations: 316.1 kB / 473.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1588, allocations: 7.938 kB / 473.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.1588, allocations: 0 / 473.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.1588, allocations: 3.984 kB / 473.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.16, allocations: 0.7465 MB / 474.7 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.16, allocations: 0 / 474.7 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.1601, allocations: 27.92 kB / 474.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002472/0.1604, allocations: 84.97 kB / 474.8 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.1604, allocations: 4 kB / 474.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001829/0.1622, allocations: 1.818 MB / 476.6 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.1622, allocations: 4.031 kB / 476.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005588/0.1628, allocations: 414.5 kB / 477 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.816e-05/0.1629, allocations: 96.78 kB / 477.1 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.1629, allocations: 4 kB / 477.1 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.163, allocations: 11.98 kB / 477.1 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.511e-05/0.1631, allocations: 15.98 kB / 477.1 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.1631, allocations: 8 kB / 477.1 MB, free: 4.695 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001159/0.1632, allocations: 140.3 kB / 477.3 MB, free: 4.559 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1632, allocations: 0 / 477.3 MB, free: 4.559 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004446/0.1637, allocations: 68 kB / 477.3 MB, free: 4.492 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 (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.0008611/0.1646, allocations: 0.9402 MB / 478.3 MB, free: 3.516 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006861/0.1653, allocations: 381.2 kB / 478.6 MB, free: 3.133 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1653, allocations: 0 / 478.6 MB, free: 3.133 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003798/0.1657, allocations: 250.5 kB / 478.9 MB, free: 2.875 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.1661, allocations: 32.55 kB / 478.9 MB, free: 2.844 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.1682, allocations: 1.456 MB / 480.4 MB, free: 1.301 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.1685, allocations: 0.7716 MB / 481.1 MB, free: 0.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001243/0.1687, allocations: 41.64 kB / 481.2 MB, free: 472 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.1688, allocations: 59.42 kB / 481.2 MB, free: 412 kB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1688, allocations: 3.938 kB / 481.2 MB, free: 408 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01704/0.1858, allocations: 4.713 MB / 486 MB, free: 11.86 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000204/0.1861, allocations: 228.5 kB / 486.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.884/2.07, allocations: 0 / 486.2 MB, free: 11.61 MB / 366.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Test_FixedLoadTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Test_FixedLoadTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.mat does not exist to compare? outputFormat=mat