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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.002341/0.002342, allocations: 176.6 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.599/1.599, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001216/0.001216, allocations: 86.66 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2066/0.2066, allocations: 37.99 MB / 348 MB, free: 7.77 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.592e-05/1.591e-05, allocations: 4 kB / 410.7 MB, free: 46.86 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1223, allocations: 56.33 MB / 467 MB, free: 6.469 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4407/0.5631, allocations: 94.05 MB / 0.5479 GB, free: 0.8086 MB / 379.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002923/0.5635, allocations: 89.03 kB / 0.548 GB, free: 0.7227 MB / 379.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0342/0.5977, allocations: 14.05 MB / 0.5617 GB, free: 2.523 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.5977, allocations: 0 / 0.5617 GB, free: 2.523 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.9e-05/0.5978, allocations: 4 kB / 0.5617 GB, free: 2.52 MB / 395.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.0006832/0.5985, allocations: 494.2 kB / 0.5622 GB, free: 1.992 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.989e-05/0.5985, allocations: 8.031 kB / 0.5622 GB, free: 1.984 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009595/0.5995, allocations: 119.5 kB / 0.5623 GB, free: 1.867 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003594/0.5999, allocations: 270.5 kB / 0.5626 GB, free: 1.562 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.5999, allocations: 4 kB / 0.5626 GB, free: 1.559 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.783e-05/0.6, allocations: 12 kB / 0.5626 GB, free: 1.547 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003332/0.6003, allocations: 200.3 kB / 0.5628 GB, free: 1.352 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004174/0.6007, allocations: 297.7 kB / 0.563 GB, free: 1.035 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.6008, allocations: 3.984 kB / 0.563 GB, free: 1.031 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/0.6008, allocations: 0 / 0.563 GB, free: 1.031 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.667e-05/0.6009, allocations: 19.98 kB / 0.5631 GB, free: 1.012 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/0.6024, allocations: 1.258 MB / 0.5643 GB, free: 15.68 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002693/0.6027, allocations: 165.1 kB / 0.5645 GB, free: 15.5 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/0.6029, allocations: 121.7 kB / 0.5646 GB, free: 15.38 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.6029, allocations: 0 / 0.5646 GB, free: 15.38 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.603, allocations: 46.48 kB / 0.5646 GB, free: 15.32 MB / 411.1 MB Notification: Performance of pre-optimization done (n=19): time 1.232e-06/0.603, allocations: 0 / 0.5646 GB, free: 15.32 MB / 411.1 MB Notification: Performance of matching and sorting (n=20): time 0.0009651/0.6039, allocations: 450.3 kB / 0.565 GB, free: 14.87 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.604, allocations: 85.09 kB / 0.5651 GB, free: 14.77 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.6041, allocations: 153.5 kB / 0.5653 GB, free: 14.61 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.6042, allocations: 25.7 kB / 0.5653 GB, free: 14.58 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.064e-05/0.6043, allocations: 148 kB / 0.5654 GB, free: 14.43 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.736e-05/0.6043, allocations: 70.98 kB / 0.5655 GB, free: 14.36 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.114e-05/0.6043, allocations: 0 / 0.5655 GB, free: 14.36 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.6045, allocations: 330.8 kB / 0.5658 GB, free: 14.03 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.6046, allocations: 80.44 kB / 0.5659 GB, free: 13.95 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.6048, allocations: 147.1 kB / 0.566 GB, free: 13.78 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.6049, allocations: 116.3 kB / 0.5661 GB, free: 13.66 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.6049, allocations: 3.938 kB / 0.5661 GB, free: 13.66 MB / 411.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006064/0.6055, allocations: 349.8 kB / 0.5665 GB, free: 13.31 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.6056, allocations: 11.95 kB / 0.5665 GB, free: 13.3 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.6056, allocations: 0 / 0.5665 GB, free: 13.3 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003974/0.606, allocations: 88.78 kB / 0.5666 GB, free: 13.21 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/0.6062, allocations: 48.19 kB / 0.5666 GB, free: 13.16 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002079/0.6083, allocations: 1.829 MB / 0.5684 GB, free: 11.21 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.6084, allocations: 15.97 kB / 0.5684 GB, free: 11.2 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.6085, allocations: 12.12 kB / 0.5684 GB, free: 11.18 MB / 411.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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.0001072/0.6086, allocations: 108.9 kB / 0.5685 GB, free: 11.07 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005799/0.6092, allocations: 314.3 kB / 0.5688 GB, free: 10.75 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.435e-05/0.6092, allocations: 19.77 kB / 0.5689 GB, free: 10.73 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006402/0.6099, allocations: 327.7 kB / 0.5692 GB, free: 10.41 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.6099, allocations: 4 kB / 0.5692 GB, free: 10.4 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.6099, allocations: 3.953 kB / 0.5692 GB, free: 10.4 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.6099, allocations: 0 / 0.5692 GB, free: 10.4 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.6111, allocations: 0.7317 MB / 0.5699 GB, free: 9.613 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.6111, allocations: 0 / 0.5699 GB, free: 9.613 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/0.6112, allocations: 32.05 kB / 0.5699 GB, free: 9.582 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002656/0.6115, allocations: 80.78 kB / 0.57 GB, free: 9.5 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.6115, allocations: 3.938 kB / 0.57 GB, free: 9.496 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001601/0.6131, allocations: 1.744 MB / 0.5717 GB, free: 7.637 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.6132, allocations: 3.953 kB / 0.5717 GB, free: 7.633 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005655/0.6137, allocations: 463.8 kB / 0.5722 GB, free: 7.133 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.57e-05/0.6138, allocations: 100.9 kB / 0.5723 GB, free: 7.016 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.6138, allocations: 4 kB / 0.5723 GB, free: 7.012 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.614, allocations: 11.92 kB / 0.5723 GB, free: 7 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.922e-05/0.614, allocations: 11.98 kB / 0.5723 GB, free: 6.988 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.614, allocations: 8 kB / 0.5723 GB, free: 6.98 MB / 411.1 MB Notification: Performance of sorting global known variables: time 8.964e-05/0.6141, allocations: 128.3 kB / 0.5724 GB, free: 6.855 MB / 411.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6141, allocations: 0 / 0.5724 GB, free: 6.855 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0004794/0.6146, allocations: 64 kB / 0.5725 GB, free: 6.793 MB / 411.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * 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.0009162/0.6155, allocations: 1.189 MB / 0.5736 GB, free: 5.555 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0006481/0.6162, allocations: 379.1 kB / 0.574 GB, free: 5.176 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.6162, allocations: 0.5625 kB / 0.574 GB, free: 5.176 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003741/0.6166, allocations: 253.6 kB / 0.5742 GB, free: 4.918 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.6169, allocations: 27.94 kB / 0.5743 GB, free: 4.891 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008309/0.6177, allocations: 425.9 kB / 0.5747 GB, free: 4.43 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.6181, allocations: 0.7791 MB / 0.5754 GB, free: 3.625 MB / 411.1 MB Notification: Performance of simCode: alias equations: time 0.0001201/0.6182, allocations: 41.83 kB / 0.5755 GB, free: 3.586 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.583e-05/0.6183, allocations: 55.42 kB / 0.5755 GB, free: 3.535 MB / 411.1 MB Notification: Performance of SimCode: time 2.6e-07/0.6183, allocations: 0 / 0.5755 GB, free: 3.535 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02418/0.6425, allocations: 4.403 MB / 0.5798 GB, free: 15.13 MB / 427.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001835/0.6428, allocations: 141.7 kB / 0.58 GB, free: 14.94 MB / 427.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.747/2.39, allocations: 0 / 0.58 GB, free: 14.94 MB / 427.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) 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