Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008379/0.0008379, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009227/0.0009227, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8908/0.8908, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2151/0.2151, allocations: 29.41 MB / 290.1 MB, free: 2.445 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.821e-05/1.968e-05, allocations: 2.281 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.002508/0.002527, allocations: 2.145 MB / 432.4 MB, free: 11.42 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005835/0.003111, allocations: 0.5336 MB / 432.9 MB, free: 10.88 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.346e-05/0.003154, allocations: 0 / 432.9 MB, free: 10.88 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000133/0.003287, allocations: 15.92 kB / 432.9 MB, free: 10.87 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.694e-05/0.003364, allocations: 23.89 kB / 432.9 MB, free: 10.84 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003377/0.003702, allocations: 79.69 kB / 433 MB, free: 10.77 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.003806, allocations: 63.7 kB / 433.1 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.216e-05/0.003848, allocations: 4 kB / 433.1 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.003975, allocations: 39.83 kB / 433.1 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.074e-05/0.004036, allocations: 27.89 kB / 433.1 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.004048, allocations: 4 kB / 433.2 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.004191, allocations: 103.7 kB / 433.3 MB, free: 10.53 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.345e-05/0.004245, allocations: 39.86 kB / 433.3 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.732e-05/0.004272, allocations: 27.86 kB / 433.3 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.00443, allocations: 143.5 kB / 433.5 MB, free: 10.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.004432, allocations: 0 / 433.5 MB, free: 10.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.72e-07/0.004433, allocations: 0 / 433.5 MB, free: 10.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.004437, allocations: 0 / 433.5 MB, free: 10.32 MB / 410.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.0003226/0.004759, allocations: 415.1 kB / 433.9 MB, free: 9.879 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.004796, allocations: 15.92 kB / 433.9 MB, free: 9.863 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.522e-05/0.004831, allocations: 46.73 kB / 433.9 MB, free: 9.809 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.898e-05/0.00486, allocations: 16.8 kB / 433.9 MB, free: 9.793 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.004991, allocations: 138.1 kB / 434.1 MB, free: 9.633 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.785e-06/0.004999, allocations: 4.312 kB / 434.1 MB, free: 9.629 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.325e-06/0.005007, allocations: 8.125 kB / 434.1 MB, free: 9.621 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.005192, allocations: 220.3 kB / 434.3 MB, free: 9.395 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.005199, allocations: 0 / 434.3 MB, free: 9.395 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-06/0.005206, allocations: 0 / 434.3 MB, free: 9.395 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.005211, allocations: 4 kB / 434.3 MB, free: 9.391 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.005321, allocations: 182 kB / 434.5 MB, free: 9.207 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001232/0.005444, allocations: 169.2 kB / 434.7 MB, free: 9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.005575, allocations: 200.5 kB / 434.8 MB, free: 8.789 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.005679, allocations: 194.8 kB / 435 MB, free: 8.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.009e-06/0.005684, allocations: 0 / 435 MB, free: 8.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.005703, allocations: 34.56 kB / 435.1 MB, free: 8.547 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 8.52e-07/0.005704, allocations: 0 / 435.1 MB, free: 8.547 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.0005045/0.006208, allocations: 0.6868 MB / 435.8 MB, free: 7.836 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.006257, allocations: 105.1 kB / 435.9 MB, free: 7.715 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.53e-05/0.006342, allocations: 149.2 kB / 436 MB, free: 7.555 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.006352, allocations: 29.7 kB / 436 MB, free: 7.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.136e-05/0.006394, allocations: 100.8 kB / 436.1 MB, free: 7.418 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.836e-05/0.006462, allocations: 126.8 kB / 436.3 MB, free: 7.293 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.006498, allocations: 37.7 kB / 436.3 MB, free: 7.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.173e-05/0.00658, allocations: 334.8 kB / 436.6 MB, free: 6.914 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.006696, allocations: 189.7 kB / 436.8 MB, free: 6.723 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.881e-05/0.006795, allocations: 177.6 kB / 437 MB, free: 6.543 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002523/0.007048, allocations: 441.3 kB / 437.4 MB, free: 6.098 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.00705, allocations: 0 / 437.4 MB, free: 6.098 MB / 410.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002798/0.007329, allocations: 444.8 kB / 437.8 MB, free: 5.645 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.791e-05/0.007387, allocations: 88.59 kB / 437.9 MB, free: 5.555 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.007394, allocations: 4 kB / 437.9 MB, free: 5.551 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.007404, allocations: 3.938 kB / 437.9 MB, free: 5.547 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.943e-06/0.007406, allocations: 4 kB / 437.9 MB, free: 5.543 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.007411, allocations: 3.938 kB / 437.9 MB, free: 5.539 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.824e-05/0.007439, allocations: 19.83 kB / 438 MB, free: 5.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.007459, allocations: 12.06 kB / 438 MB, free: 5.508 MB / 410.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001257/0.007584, allocations: 231.4 kB / 438.2 MB, free: 5.266 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.605e-05/0.0076, allocations: 23.86 kB / 438.2 MB, free: 5.242 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.669e-05/0.007617, allocations: 17.95 kB / 438.2 MB, free: 5.219 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.007619, allocations: 3.938 kB / 438.2 MB, free: 5.215 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.007624, allocations: 4 kB / 438.3 MB, free: 5.211 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.007627, allocations: 3.984 kB / 438.3 MB, free: 5.207 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.817e-05/0.007725, allocations: 180.5 kB / 438.4 MB, free: 4.988 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.007726, allocations: 0 / 438.4 MB, free: 4.988 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.007726, allocations: 0 / 438.4 MB, free: 4.988 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.007727, allocations: 4 kB / 438.4 MB, free: 4.984 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.00774, allocations: 8 kB / 438.4 MB, free: 4.977 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.007742, allocations: 3.984 kB / 438.4 MB, free: 4.973 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.007743, allocations: 0 / 438.4 MB, free: 4.973 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008351/0.008578, allocations: 0.7654 MB / 439.2 MB, free: 4.176 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.181e-05/0.0086, allocations: 27.78 kB / 439.2 MB, free: 4.148 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.008618, allocations: 4 kB / 439.2 MB, free: 4.145 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.83e-05/0.008636, allocations: 8 kB / 439.3 MB, free: 4.137 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.962e-05/0.008656, allocations: 0 / 439.3 MB, free: 4.137 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.008668, allocations: 8 kB / 439.3 MB, free: 4.129 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.278e-05/0.008721, allocations: 111.2 kB / 439.4 MB, free: 4.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.008721, allocations: 4.031 kB / 439.4 MB, free: 4.016 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002041/0.008925, allocations: 63.94 kB / 439.4 MB, free: 3.953 MB / 410.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00076/0.009685, allocations: 1.31 MB / 440.7 MB, free: 2.602 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005264/0.01021, allocations: 0.7484 MB / 441.5 MB, free: 1.828 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01021, allocations: 0 / 441.5 MB, free: 1.828 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000259/0.01047, allocations: 428.9 kB / 441.9 MB, free: 1.391 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001885/0.01066, allocations: 24.98 kB / 441.9 MB, free: 1.367 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1666/0.1772, allocations: 3.73 MB / 445.7 MB, free: 53.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.185e-05/0.1773, allocations: 134.3 kB / 445.8 MB, free: 53.69 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.409e-05/0.1773, allocations: 3.328 kB / 445.8 MB, free: 53.69 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.794e-05/0.1774, allocations: 43.09 kB / 445.8 MB, free: 53.66 MB / 410.7 MB Notification: Performance of SimCode: time 8.02e-07/0.1774, allocations: 0 / 445.8 MB, free: 53.66 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01651/0.1939, allocations: 5.601 MB / 451.4 MB, free: 52.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.648/6.842, allocations: 11.11 kB / 451.5 MB, free: 52.57 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.665944945067167] Failed to read output from testmodel.py, exit status != 0: 6.9214178724214435 6.928001307 6.922264562 Calling exit ...