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.001378/0.001378, allocations: 180.3 kB / 16.38 MB, free: 5.762 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.334/1.334, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0008284/0.0008284, allocations: 93.22 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1595/0.1595, allocations: 38.06 MB / 357.2 MB, free: 1.883 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003119/0.0003119, allocations: 8 kB / 424.1 MB, free: 37.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2971, allocations: 56.32 MB / 480.4 MB, free: 9.562 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1243/0.4214, allocations: 87.09 MB / 0.5542 GB, free: 15.32 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/0.4218, allocations: 79.95 kB / 0.5543 GB, free: 15.25 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004612/0.4264, allocations: 1.551 MB / 0.5558 GB, free: 13.69 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4264, allocations: 0 / 0.5558 GB, free: 13.69 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.4264, allocations: 0 / 0.5558 GB, free: 13.69 MB / 394.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.0003752/0.4268, allocations: 397 kB / 0.5562 GB, free: 13.25 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.4269, allocations: 16.03 kB / 0.5562 GB, free: 13.23 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.558e-05/0.4269, allocations: 34.55 kB / 0.5562 GB, free: 13.19 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.041e-05/0.4269, allocations: 7.906 kB / 0.5562 GB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.4271, allocations: 186.9 kB / 0.5564 GB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.464e-06/0.4271, allocations: 0 / 0.5564 GB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.4271, allocations: 0 / 0.5564 GB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.4273, allocations: 61.62 kB / 0.5565 GB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.4273, allocations: 0 / 0.5565 GB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.4273, allocations: 7.984 kB / 0.5565 GB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.4273, allocations: 3.984 kB / 0.5565 GB, free: 12.88 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.753e-05/0.4274, allocations: 35.98 kB / 0.5565 GB, free: 12.85 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001897/0.4276, allocations: 165.6 kB / 0.5567 GB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.39e-05/0.4277, allocations: 57.66 kB / 0.5567 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.674e-06/0.4277, allocations: 0 / 0.5567 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.4277, allocations: 30.56 kB / 0.5568 GB, free: 12.54 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 8.52e-07/0.4277, allocations: 0 / 0.5568 GB, free: 12.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003308/0.428, allocations: 272.5 kB / 0.557 GB, free: 12.24 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.414e-05/0.4281, allocations: 93.12 kB / 0.5571 GB, free: 12.13 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.742e-05/0.4282, allocations: 105 kB / 0.5572 GB, free: 12.02 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.4282, allocations: 29.7 kB / 0.5572 GB, free: 11.98 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.709e-05/0.4283, allocations: 88.14 kB / 0.5573 GB, free: 11.89 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.374e-05/0.4283, allocations: 35.44 kB / 0.5574 GB, free: 11.86 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-06/0.4283, allocations: 4 kB / 0.5574 GB, free: 11.86 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.4285, allocations: 318.8 kB / 0.5577 GB, free: 11.54 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.854e-05/0.4285, allocations: 27.98 kB / 0.5577 GB, free: 11.51 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.577e-05/0.4286, allocations: 35.98 kB / 0.5577 GB, free: 11.47 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.355e-05/0.4286, allocations: 82.5 kB / 0.5578 GB, free: 11.39 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4287, allocations: 0 / 0.5578 GB, free: 11.39 MB / 394.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001738/0.4288, allocations: 151.1 kB / 0.5579 GB, free: 11.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.651e-05/0.4289, allocations: 45.69 kB / 0.558 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.4289, allocations: 3.984 kB / 0.558 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.4289, allocations: 0 / 0.558 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.4289, allocations: 3.938 kB / 0.558 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.4289, allocations: 0 / 0.558 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.782e-05/0.429, allocations: 11.84 kB / 0.558 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.429, allocations: 8.062 kB / 0.558 GB, free: 11.15 MB / 394.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 () * Number of clocked 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 0.0001324/0.4291, allocations: 167.5 kB / 0.5582 GB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.515e-05/0.4292, allocations: 7.906 kB / 0.5582 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.841e-05/0.4292, allocations: 8.375 kB / 0.5582 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.4292, allocations: 3.984 kB / 0.5582 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.4292, allocations: 0 / 0.5582 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.4292, allocations: 0 / 0.5582 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.4293, allocations: 169.7 kB / 0.5584 GB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.4293, allocations: 3.953 kB / 0.5584 GB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.914e-06/0.4293, allocations: 3.984 kB / 0.5584 GB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.4294, allocations: 4 kB / 0.5584 GB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.4294, allocations: 4 kB / 0.5584 GB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.4294, allocations: 0 / 0.5584 GB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.4294, allocations: 0 / 0.5584 GB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003059/0.4297, allocations: 282.5 kB / 0.5586 GB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.238e-05/0.4298, allocations: 92.89 kB / 0.5587 GB, free: 10.31 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.4298, allocations: 4 kB / 0.5587 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.676e-05/0.4298, allocations: 32 / 0.5587 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.813e-05/0.4298, allocations: 8 kB / 0.5587 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.4298, allocations: 8 kB / 0.5587 GB, free: 10.29 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.027e-05/0.4299, allocations: 91.27 kB / 0.5588 GB, free: 10.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4299, allocations: 0 / 0.5588 GB, free: 10.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001992/0.4301, allocations: 32 kB / 0.5589 GB, free: 10.17 MB / 394.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 () * Number of clocked 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.0006144/0.4307, allocations: 0.8248 MB / 0.5597 GB, free: 9.309 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003134/0.4311, allocations: 283.3 kB / 0.5599 GB, free: 9.02 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4311, allocations: 0 / 0.5599 GB, free: 9.02 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001802/0.4313, allocations: 223.3 kB / 0.5602 GB, free: 8.789 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.4314, allocations: 10.5 kB / 0.5602 GB, free: 8.781 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.4326, allocations: 0.8043 MB / 0.5609 GB, free: 7.93 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.4329, allocations: 0.7043 MB / 0.5616 GB, free: 7.199 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.833e-05/0.433, allocations: 7.938 kB / 0.5616 GB, free: 7.191 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.173e-05/0.433, allocations: 19.44 kB / 0.5617 GB, free: 7.172 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.433, allocations: 0 / 0.5617 GB, free: 7.172 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01319/0.4462, allocations: 2.271 MB / 0.5639 GB, free: 4.961 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/0.4464, allocations: 191.6 kB / 0.5641 GB, free: 4.723 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.608/2.054, allocations: 0 / 0.5641 GB, free: 4.723 MB / 394.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