Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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.AC3ph.Precalculation.Z_matrixEqCirc2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2",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.001808/0.001808, allocations: 175.2 kB / 13.63 MB, free: 1.684 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.824/1.824, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.0009214/0.0009215, allocations: 82.72 kB / 267.5 MB, free: 14.03 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1816/0.1816, allocations: 37.99 MB / 353.5 MB, free: 1.742 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.653e-05/4.668e-05, allocations: 11.94 kB / 417.8 MB, free: 29.03 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1226, allocations: 56.32 MB / 474.2 MB, free: 4.707 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4483/0.571, allocations: 86.95 MB / 0.548 GB, free: 11.46 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003082/0.5714, allocations: 87.77 kB / 0.548 GB, free: 11.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004761/0.5762, allocations: 1.659 MB / 0.5497 GB, free: 10.74 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5762, allocations: 3.938 kB / 0.5497 GB, free: 10.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.5762, allocations: 5.672 kB / 0.5497 GB, free: 10.73 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0002914/0.5765, allocations: 421.4 kB / 0.5501 GB, free: 10.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.5766, allocations: 11.53 kB / 0.5501 GB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.588e-05/0.5766, allocations: 41.77 kB / 0.5501 GB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.104e-05/0.5767, allocations: 7.719 kB / 0.5501 GB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.5768, allocations: 190.3 kB / 0.5503 GB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.5768, allocations: 3.938 kB / 0.5503 GB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.5769, allocations: 4 kB / 0.5503 GB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.577, allocations: 93.89 kB / 0.5504 GB, free: 10 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/0.577, allocations: 0 / 0.5504 GB, free: 10 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.629e-06/0.577, allocations: 0 / 0.5504 GB, free: 10 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.577, allocations: 0 / 0.5504 GB, free: 10 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.956e-05/0.5771, allocations: 56.91 kB / 0.5505 GB, free: 9.996 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001201/0.5772, allocations: 191.6 kB / 0.5506 GB, free: 9.789 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.66e-05/0.5773, allocations: 96.52 kB / 0.5507 GB, free: 9.754 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.274e-05/0.5774, allocations: 90.48 kB / 0.5508 GB, free: 9.734 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-06/0.5774, allocations: 0 / 0.5508 GB, free: 9.734 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.5774, allocations: 37.88 kB / 0.5509 GB, free: 9.695 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 9.32e-07/0.5774, allocations: 0 / 0.5509 GB, free: 9.695 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002568/0.5777, allocations: 221.5 kB / 0.5511 GB, free: 9.598 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.5778, allocations: 99.81 kB / 0.5512 GB, free: 9.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.678e-05/0.5778, allocations: 121.5 kB / 0.5513 GB, free: 9.402 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/0.5779, allocations: 29.73 kB / 0.5513 GB, free: 9.367 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.786e-05/0.5779, allocations: 96.08 kB / 0.5514 GB, free: 9.281 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.995e-05/0.5779, allocations: 73.94 kB / 0.5515 GB, free: 9.223 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/0.578, allocations: 0 / 0.5515 GB, free: 9.223 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.571e-05/0.578, allocations: 333.5 kB / 0.5518 GB, free: 8.902 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.317e-05/0.5781, allocations: 53.62 kB / 0.5518 GB, free: 8.895 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.438e-05/0.5781, allocations: 61.12 kB / 0.5519 GB, free: 8.883 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.223e-05/0.5782, allocations: 121.4 kB / 0.552 GB, free: 8.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.5782, allocations: 0 / 0.552 GB, free: 8.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001801/0.5784, allocations: 221.2 kB / 0.5522 GB, free: 8.746 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.508e-05/0.5785, allocations: 67.84 kB / 0.5523 GB, free: 8.703 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.5785, allocations: 0 / 0.5523 GB, free: 8.703 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.5785, allocations: 0 / 0.5523 GB, free: 8.703 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.5785, allocations: 0 / 0.5523 GB, free: 8.703 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.5785, allocations: 0 / 0.5523 GB, free: 8.703 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.23e-05/0.5786, allocations: 15.53 kB / 0.5523 GB, free: 8.695 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.303e-05/0.5786, allocations: 7.828 kB / 0.5523 GB, free: 8.691 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 9.144e-05/0.5787, allocations: 168.9 kB / 0.5525 GB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.998e-05/0.5787, allocations: 19.48 kB / 0.5525 GB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.867e-05/0.5787, allocations: 15.72 kB / 0.5525 GB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.5788, allocations: 0 / 0.5525 GB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.5788, allocations: 0 / 0.5525 GB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.5788, allocations: 3.938 kB / 0.5525 GB, free: 8.516 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.5789, allocations: 202.9 kB / 0.5527 GB, free: 8.297 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.5789, allocations: 0 / 0.5527 GB, free: 8.297 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.462e-06/0.5789, allocations: 7.938 kB / 0.5527 GB, free: 8.289 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.5789, allocations: 0 / 0.5527 GB, free: 8.289 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.5789, allocations: 7.656 kB / 0.5527 GB, free: 8.289 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.5789, allocations: 0 / 0.5527 GB, free: 8.289 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.5789, allocations: 4 kB / 0.5527 GB, free: 8.285 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004337/0.5794, allocations: 0.4995 MB / 0.5532 GB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.153e-05/0.5794, allocations: 96.69 kB / 0.5533 GB, free: 8.004 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.5794, allocations: 3.875 kB / 0.5533 GB, free: 8.004 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.399e-05/0.5795, allocations: 3.812 kB / 0.5533 GB, free: 8.004 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.359e-05/0.5795, allocations: 7.219 kB / 0.5533 GB, free: 8.004 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.5795, allocations: 3.844 kB / 0.5533 GB, free: 8.004 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.652e-05/0.5796, allocations: 103.4 kB / 0.5534 GB, free: 7.926 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5796, allocations: 7.906 kB / 0.5534 GB, free: 7.922 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002307/0.5798, allocations: 38.59 kB / 0.5535 GB, free: 7.922 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0006096/0.5804, allocations: 1.054 MB / 0.5545 GB, free: 7.215 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004821/0.5809, allocations: 0.6997 MB / 0.5552 GB, free: 7.023 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.5809, allocations: 96 / 0.5552 GB, free: 7.023 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003405/0.5813, allocations: 0.5656 MB / 0.5557 GB, free: 6.691 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000161/0.5815, allocations: 18.73 kB / 0.5557 GB, free: 6.676 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005471/0.582, allocations: 400.1 kB / 0.5561 GB, free: 6.289 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001665/0.5822, allocations: 0.728 MB / 0.5568 GB, free: 5.535 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.722e-05/0.5822, allocations: 0 / 0.5568 GB, free: 5.535 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.255e-05/0.5823, allocations: 28.86 kB / 0.5569 GB, free: 5.523 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5823, allocations: 4.062 kB / 0.5569 GB, free: 5.52 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01408/0.5963, allocations: 3.205 MB / 0.56 GB, free: 2.363 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002072/0.5966, allocations: 179.6 kB / 0.5602 GB, free: 2.129 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.652/2.249, allocations: 0 / 0.5602 GB, free: 2.129 MB / 362.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_res.mat does not exist to compare? outputFormat=mat