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.001081/0.001081, allocations: 180.7 kB / 16.38 MB, free: 5.766 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.302/1.302, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.0009052/0.0009053, allocations: 92.08 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.1682/0.1682, allocations: 38.07 MB / 357.2 MB, free: 1.879 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002851/0.0002851, allocations: 8 kB / 424.1 MB, free: 37.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2956, allocations: 56.32 MB / 480.4 MB, free: 9.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1261/0.4218, allocations: 87.06 MB / 0.5542 GB, free: 15.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/0.4221, allocations: 75.95 kB / 0.5542 GB, free: 15.27 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004854/0.427, allocations: 1.668 MB / 0.5559 GB, free: 13.6 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.436e-06/0.427, allocations: 0 / 0.5559 GB, free: 13.6 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.427, allocations: 7.938 kB / 0.5559 GB, free: 13.59 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0004376/0.4275, allocations: 440.9 kB / 0.5563 GB, free: 13.11 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.4275, allocations: 12.03 kB / 0.5563 GB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.83e-05/0.4276, allocations: 42.55 kB / 0.5563 GB, free: 13.04 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.4276, allocations: 11.81 kB / 0.5564 GB, free: 13.03 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.4278, allocations: 185.4 kB / 0.5565 GB, free: 12.81 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.4278, allocations: 0 / 0.5565 GB, free: 12.81 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.4278, allocations: 4 kB / 0.5565 GB, free: 12.81 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.428, allocations: 89.61 kB / 0.5566 GB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.428, allocations: 0 / 0.5566 GB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.428, allocations: 0 / 0.5566 GB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.428, allocations: 4 kB / 0.5566 GB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.876e-05/0.4281, allocations: 59.97 kB / 0.5567 GB, free: 12.65 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001563/0.4283, allocations: 181.5 kB / 0.5569 GB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.958e-05/0.4284, allocations: 101.6 kB / 0.557 GB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-06/0.4284, allocations: 0 / 0.557 GB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.4284, allocations: 34.5 kB / 0.557 GB, free: 12.28 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 9.02e-07/0.4284, allocations: 4.031 kB / 0.557 GB, free: 12.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004181/0.4289, allocations: 400.4 kB / 0.5574 GB, free: 11.85 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/0.4289, allocations: 89.11 kB / 0.5575 GB, free: 11.75 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.634e-05/0.429, allocations: 121.2 kB / 0.5576 GB, free: 11.62 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.4291, allocations: 29.7 kB / 0.5576 GB, free: 11.58 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.087e-05/0.4291, allocations: 92.56 kB / 0.5577 GB, free: 11.49 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.617e-05/0.4292, allocations: 86.73 kB / 0.5578 GB, free: 11.4 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-06/0.4292, allocations: 0 / 0.5578 GB, free: 11.4 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.766e-05/0.4293, allocations: 322.8 kB / 0.5581 GB, free: 11.08 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.177e-05/0.4294, allocations: 60 kB / 0.5581 GB, free: 11.02 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.26e-05/0.4294, allocations: 59.92 kB / 0.5582 GB, free: 10.96 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.4295, allocations: 129.6 kB / 0.5583 GB, free: 10.83 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4295, allocations: 0 / 0.5583 GB, free: 10.83 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000213/0.4298, allocations: 223.8 kB / 0.5585 GB, free: 10.6 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.538e-05/0.4298, allocations: 61.66 kB / 0.5586 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.4298, allocations: 4 kB / 0.5586 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.4299, allocations: 7.875 kB / 0.5586 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.193e-06/0.4299, allocations: 0 / 0.5586 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.4299, allocations: 4 kB / 0.5586 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.308e-05/0.4299, allocations: 15.91 kB / 0.5586 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.052e-05/0.43, allocations: 8 kB / 0.5586 GB, free: 10.49 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.000149/0.4301, allocations: 195.4 kB / 0.5588 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.093e-05/0.4301, allocations: 11.91 kB / 0.5588 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.376e-05/0.4302, allocations: 13.17 kB / 0.5588 GB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.4302, allocations: 0 / 0.5588 GB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4302, allocations: 0 / 0.5588 GB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.4302, allocations: 0 / 0.5588 GB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.4303, allocations: 201.5 kB / 0.559 GB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.4303, allocations: 3.953 kB / 0.559 GB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.4303, allocations: 4 kB / 0.559 GB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.4303, allocations: 0 / 0.559 GB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.4304, allocations: 11.94 kB / 0.5591 GB, free: 9.996 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.4304, allocations: 0 / 0.5591 GB, free: 9.996 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4304, allocations: 0 / 0.5591 GB, free: 9.996 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005032/0.4309, allocations: 0.5021 MB / 0.5595 GB, free: 9.469 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.778e-05/0.4309, allocations: 100.9 kB / 0.5596 GB, free: 9.352 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.431, allocations: 4 kB / 0.5596 GB, free: 9.348 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.575e-05/0.431, allocations: 8.031 kB / 0.5597 GB, free: 9.34 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.08e-05/0.431, allocations: 4 kB / 0.5597 GB, free: 9.336 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.431, allocations: 8 kB / 0.5597 GB, free: 9.328 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.916e-05/0.4311, allocations: 105.2 kB / 0.5598 GB, free: 9.227 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4311, allocations: 0 / 0.5598 GB, free: 9.227 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002371/0.4314, allocations: 44 kB / 0.5598 GB, free: 9.184 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.0008581/0.4322, allocations: 1.047 MB / 0.5608 GB, free: 8.102 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005961/0.4328, allocations: 0.7022 MB / 0.5615 GB, free: 7.387 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4328, allocations: 0 / 0.5615 GB, free: 7.387 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004338/0.4333, allocations: 0.5696 MB / 0.5621 GB, free: 6.805 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.4335, allocations: 12 kB / 0.5621 GB, free: 6.793 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.4349, allocations: 1.273 MB / 0.5633 GB, free: 5.465 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.4352, allocations: 0.7241 MB / 0.564 GB, free: 4.715 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.083e-05/0.4352, allocations: 8 kB / 0.564 GB, free: 4.707 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.327e-05/0.4352, allocations: 31.42 kB / 0.5641 GB, free: 4.68 MB / 394.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4352, allocations: 3.938 kB / 0.5641 GB, free: 4.676 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01493/0.4502, allocations: 3.182 MB / 0.5672 GB, free: 1.551 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002038/0.4504, allocations: 199.5 kB / 0.5674 GB, free: 1.305 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.491/1.941, allocations: 0 / 0.5674 GB, free: 1.305 MB / 394.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