Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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_matrixEqCirc1,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1",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.001468/0.001468, allocations: 174 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.86/1.86, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.0009878/0.0009878, allocations: 90.64 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1679/0.1679, allocations: 37.98 MB / 353.5 MB, free: 1.75 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.51e-05/3.514e-05, allocations: 4 kB / 417.8 MB, free: 29.02 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.136, allocations: 56.32 MB / 474.2 MB, free: 4.688 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.458/0.594, allocations: 86.99 MB / 0.548 GB, free: 11.34 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002322/0.5943, allocations: 81.48 kB / 0.5481 GB, free: 11.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004864/0.5992, allocations: 1.552 MB / 0.5496 GB, free: 10.67 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5992, allocations: 4 kB / 0.5496 GB, free: 10.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.744e-06/0.5992, allocations: 1.859 kB / 0.5496 GB, free: 10.66 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0002558/0.5995, allocations: 387.7 kB / 0.55 GB, free: 10.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.5995, allocations: 7.688 kB / 0.55 GB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.037e-05/0.5996, allocations: 34.44 kB / 0.55 GB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.958e-05/0.5996, allocations: 7.75 kB / 0.55 GB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.5998, allocations: 194 kB / 0.5502 GB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.312e-06/0.5998, allocations: 0 / 0.5502 GB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.5998, allocations: 0 / 0.5502 GB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.5999, allocations: 63.67 kB / 0.5502 GB, free: 9.965 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.5999, allocations: 0 / 0.5502 GB, free: 9.965 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.6, allocations: 4.844 kB / 0.5503 GB, free: 9.965 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.6, allocations: 0 / 0.5503 GB, free: 9.965 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.356e-05/0.6, allocations: 27.05 kB / 0.5503 GB, free: 9.961 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001142/0.6002, allocations: 169.1 kB / 0.5504 GB, free: 9.762 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.421e-05/0.6002, allocations: 60.56 kB / 0.5505 GB, free: 9.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.49e-05/0.6003, allocations: 46.36 kB / 0.5505 GB, free: 9.715 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.439e-06/0.6003, allocations: 4 kB / 0.5505 GB, free: 9.711 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.551e-05/0.6003, allocations: 34.38 kB / 0.5506 GB, free: 9.672 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.6003, allocations: 0 / 0.5506 GB, free: 9.672 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002075/0.6005, allocations: 146.2 kB / 0.5507 GB, free: 9.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.6006, allocations: 92.64 kB / 0.5508 GB, free: 9.488 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.092e-05/0.6007, allocations: 116.4 kB / 0.5509 GB, free: 9.391 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.6007, allocations: 25.7 kB / 0.5509 GB, free: 9.359 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.16e-05/0.6007, allocations: 83.86 kB / 0.551 GB, free: 9.277 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.6007, allocations: 42.95 kB / 0.5511 GB, free: 9.246 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/0.6008, allocations: 0 / 0.5511 GB, free: 9.246 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.441e-05/0.6008, allocations: 329.4 kB / 0.5514 GB, free: 8.926 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.68e-05/0.6009, allocations: 27.14 kB / 0.5514 GB, free: 8.922 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.088e-05/0.6009, allocations: 30.98 kB / 0.5514 GB, free: 8.918 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.173e-05/0.601, allocations: 72.56 kB / 0.5515 GB, free: 8.879 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.601, allocations: 0 / 0.5515 GB, free: 8.879 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001375/0.6011, allocations: 144.3 kB / 0.5516 GB, free: 8.801 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.702e-05/0.6012, allocations: 48.28 kB / 0.5517 GB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.6012, allocations: 8 kB / 0.5517 GB, free: 8.758 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.6012, allocations: 0 / 0.5517 GB, free: 8.758 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.6012, allocations: 0 / 0.5517 GB, free: 8.758 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.6012, allocations: 0 / 0.5517 GB, free: 8.758 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.076e-05/0.6013, allocations: 17.11 kB / 0.5517 GB, free: 8.746 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.6013, allocations: 7.781 kB / 0.5517 GB, free: 8.742 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 7.328e-05/0.6014, allocations: 149 kB / 0.5519 GB, free: 8.598 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.622e-05/0.6014, allocations: 11.59 kB / 0.5519 GB, free: 8.594 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.433e-05/0.6014, allocations: 8.609 kB / 0.5519 GB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.6014, allocations: 4 kB / 0.5519 GB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.6014, allocations: 0 / 0.5519 GB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.6014, allocations: 3.969 kB / 0.5519 GB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.175e-05/0.6015, allocations: 171.2 kB / 0.552 GB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.6015, allocations: 3.844 kB / 0.5521 GB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.51e-07/0.6015, allocations: 0 / 0.5521 GB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.706e-06/0.6015, allocations: 0.875 kB / 0.5521 GB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.6016, allocations: 3.844 kB / 0.5521 GB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.6016, allocations: 0 / 0.5521 GB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.6016, allocations: 0 / 0.5521 GB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002984/0.6019, allocations: 279.7 kB / 0.5523 GB, free: 8.238 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.309e-05/0.6019, allocations: 88.88 kB / 0.5524 GB, free: 8.137 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.6019, allocations: 0 / 0.5524 GB, free: 8.137 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.181e-05/0.602, allocations: 11.75 kB / 0.5524 GB, free: 8.129 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.608e-05/0.602, allocations: 7.312 kB / 0.5524 GB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.602, allocations: 3.844 kB / 0.5524 GB, free: 8.125 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.666e-05/0.6021, allocations: 94.23 kB / 0.5525 GB, free: 8.047 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6021, allocations: 0 / 0.5525 GB, free: 8.047 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002231/0.6023, allocations: 38.94 kB / 0.5526 GB, free: 8.035 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.0004065/0.6027, allocations: 0.8105 MB / 0.5533 GB, free: 7.379 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000227/0.603, allocations: 282.7 kB / 0.5536 GB, free: 7.293 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.603, allocations: 7.781 kB / 0.5536 GB, free: 7.289 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.6031, allocations: 221.8 kB / 0.5538 GB, free: 7.207 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.6032, allocations: 25.75 kB / 0.5539 GB, free: 7.195 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003677/0.6036, allocations: 239.3 kB / 0.5541 GB, free: 7.047 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.6037, allocations: 0.7034 MB / 0.5548 GB, free: 6.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.379e-05/0.6038, allocations: 0 / 0.5548 GB, free: 6.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.377e-05/0.6038, allocations: 21.73 kB / 0.5548 GB, free: 6.328 MB / 362.7 MB Notification: Performance of SimCode: time 2.71e-07/0.6038, allocations: 0 / 0.5548 GB, free: 6.328 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01383/0.6176, allocations: 2.28 MB / 0.557 GB, free: 4.773 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001548/0.6178, allocations: 167.6 kB / 0.5572 GB, free: 4.551 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.808/2.426, allocations: 0 / 0.5572 GB, free: 4.551 MB / 362.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1_res.mat does not exist to compare? outputFormat=mat