Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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_matrixEqCirc3,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3",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.001618/0.001618, allocations: 175.5 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.754/1.754, 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.001106/0.001106, 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.1853/0.1853, allocations: 37.98 MB / 353.5 MB, free: 1.754 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.379e-05/4.42e-05, allocations: 4 kB / 417.8 MB, free: 29.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1517, allocations: 56.31 MB / 474.1 MB, free: 4.719 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4657/0.6174, allocations: 86.96 MB / 0.548 GB, free: 11.35 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/0.6177, allocations: 80.45 kB / 0.548 GB, free: 11.35 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004708/0.6224, allocations: 1.81 MB / 0.5498 GB, free: 10.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.6225, allocations: 0 / 0.5498 GB, free: 10.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.6225, allocations: 0.9844 kB / 0.5498 GB, free: 10.57 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0003389/0.6228, allocations: 461.8 kB / 0.5502 GB, free: 10.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.6229, allocations: 11.56 kB / 0.5503 GB, free: 10.13 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.278e-05/0.6229, allocations: 41.8 kB / 0.5503 GB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.86e-05/0.623, allocations: 19.38 kB / 0.5503 GB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.6232, allocations: 202 kB / 0.5505 GB, free: 9.852 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.6232, allocations: 3.844 kB / 0.5505 GB, free: 9.852 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.6232, allocations: 0 / 0.5505 GB, free: 9.852 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.6234, allocations: 132.1 kB / 0.5506 GB, free: 9.797 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.6234, allocations: 0 / 0.5506 GB, free: 9.797 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.6234, allocations: 3.906 kB / 0.5506 GB, free: 9.797 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.6234, allocations: 0 / 0.5506 GB, free: 9.797 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.1e-05/0.6235, allocations: 87.58 kB / 0.5507 GB, free: 9.789 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001604/0.6237, allocations: 214.2 kB / 0.5509 GB, free: 9.566 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.6238, allocations: 151.8 kB / 0.5511 GB, free: 9.527 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.624, allocations: 148.6 kB / 0.5512 GB, free: 9.504 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.757e-06/0.624, allocations: 0 / 0.5512 GB, free: 9.504 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.624, allocations: 34.31 kB / 0.5512 GB, free: 9.465 MB / 362.7 MB Notification: Performance of pre-optimization done (n=40): time 8.81e-07/0.624, allocations: 3.938 kB / 0.5512 GB, free: 9.461 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.0003859/0.6244, allocations: 322.9 kB / 0.5516 GB, free: 9.355 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.681e-05/0.6245, allocations: 107.4 kB / 0.5517 GB, free: 9.258 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.753e-05/0.6246, allocations: 139.7 kB / 0.5518 GB, free: 9.145 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.6246, allocations: 25.7 kB / 0.5518 GB, free: 9.113 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.23e-05/0.6246, allocations: 102.9 kB / 0.5519 GB, free: 9.023 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.551e-05/0.6247, allocations: 129.7 kB / 0.552 GB, free: 8.926 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-06/0.6247, allocations: 0 / 0.552 GB, free: 8.926 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.139e-05/0.6248, allocations: 333.1 kB / 0.5524 GB, free: 8.605 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.86e-05/0.6249, allocations: 96.7 kB / 0.5524 GB, free: 8.594 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.891e-05/0.625, allocations: 93.7 kB / 0.5525 GB, free: 8.582 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.6251, allocations: 189.9 kB / 0.5527 GB, free: 8.523 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.6251, allocations: 0 / 0.5527 GB, free: 8.523 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002627/0.6254, allocations: 317 kB / 0.553 GB, free: 8.422 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.905e-05/0.6255, allocations: 91.72 kB / 0.5531 GB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.6255, allocations: 0 / 0.5531 GB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.6255, allocations: 0 / 0.5531 GB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.026e-06/0.6255, allocations: 0 / 0.5531 GB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.6255, allocations: 3.938 kB / 0.5531 GB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.27e-05/0.6256, allocations: 23.41 kB / 0.5531 GB, free: 8.348 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.415e-05/0.6256, allocations: 15.67 kB / 0.5531 GB, free: 8.344 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 0.0001139/0.6257, allocations: 195.2 kB / 0.5533 GB, free: 8.184 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.6258, allocations: 19.41 kB / 0.5534 GB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.312e-05/0.6258, allocations: 21.45 kB / 0.5534 GB, free: 8.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.6258, allocations: 0 / 0.5534 GB, free: 8.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.6258, allocations: 0 / 0.5534 GB, free: 8.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.6258, allocations: 3.875 kB / 0.5534 GB, free: 8.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.6259, allocations: 225.9 kB / 0.5536 GB, free: 7.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.6259, allocations: 0 / 0.5536 GB, free: 7.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.142e-06/0.6259, allocations: 0 / 0.5536 GB, free: 7.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.6259, allocations: 3.984 kB / 0.5536 GB, free: 7.926 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.626, allocations: 7.688 kB / 0.5536 GB, free: 7.926 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.626, allocations: 0 / 0.5536 GB, free: 7.926 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.626, allocations: 11.81 kB / 0.5536 GB, free: 7.918 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006852/0.6267, allocations: 0.8965 MB / 0.5545 GB, free: 7.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.256e-05/0.6267, allocations: 104.5 kB / 0.5546 GB, free: 7.562 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/0.6268, allocations: 7.719 kB / 0.5546 GB, free: 7.562 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.206e-05/0.6268, allocations: 7.562 kB / 0.5546 GB, free: 7.562 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/0.6268, allocations: 0 / 0.5546 GB, free: 7.562 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.6269, allocations: 11.62 kB / 0.5546 GB, free: 7.562 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.964e-05/0.6269, allocations: 118.3 kB / 0.5547 GB, free: 7.477 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6269, allocations: 0 / 0.5547 GB, free: 7.477 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002213/0.6272, allocations: 68.09 kB / 0.5548 GB, free: 7.41 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.001009/0.6282, allocations: 1.437 MB / 0.5562 GB, free: 6.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.6293, allocations: 1.578 MB / 0.5577 GB, free: 5.238 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.6293, allocations: 0 / 0.5577 GB, free: 5.238 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007424/0.63, allocations: 1.372 MB / 0.5591 GB, free: 4.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.6302, allocations: 23.17 kB / 0.5591 GB, free: 4.551 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007112/0.631, allocations: 0.5882 MB / 0.5597 GB, free: 3.992 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001571/0.6311, allocations: 0.7481 MB / 0.5604 GB, free: 3.219 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.943e-05/0.6312, allocations: 4 kB / 0.5604 GB, free: 3.215 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.283e-05/0.6312, allocations: 38.72 kB / 0.5604 GB, free: 3.203 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6312, allocations: 0 / 0.5604 GB, free: 3.203 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01517/0.6464, allocations: 4.373 MB / 0.5647 GB, free: 14.88 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002064/0.6466, allocations: 171.5 kB / 0.5649 GB, free: 14.65 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.855/2.501, allocations: 0 / 0.5649 GB, free: 14.65 MB / 378.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.mat does not exist to compare? outputFormat=mat