Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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.0009332/0.0009332, allocations: 79.7 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.0008246/0.0008246, allocations: 174 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.9079/0.9079, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.2379/0.2379, allocations: 29.4 MB / 290.1 MB, free: 2.43 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_matrixEqCirc1,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.916e-05/2.069e-05, allocations: 4.109 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.002423/0.002444, allocations: 2.137 MB / 432.4 MB, free: 11.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006126/0.003056, allocations: 0.5453 MB / 432.9 MB, free: 10.88 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.416e-05/0.003101, allocations: 0 / 432.9 MB, free: 10.88 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001353/0.003236, allocations: 11.92 kB / 432.9 MB, free: 10.87 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.003355, allocations: 23.83 kB / 432.9 MB, free: 10.84 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003044/0.00366, allocations: 83.73 kB / 433 MB, free: 10.76 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.003765, allocations: 59.77 kB / 433.1 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.293e-05/0.003808, allocations: 4 kB / 433.1 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.003943, allocations: 43.77 kB / 433.1 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.347e-05/0.003986, allocations: 27.91 kB / 433.1 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.127e-06/0.003996, allocations: 3.938 kB / 433.1 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.004151, allocations: 91.8 kB / 433.2 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.666e-05/0.004198, allocations: 23.86 kB / 433.3 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.607e-05/0.004224, allocations: 15.92 kB / 433.3 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.004379, allocations: 107.7 kB / 433.4 MB, free: 10.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.004381, allocations: 0 / 433.4 MB, free: 10.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.004383, allocations: 0 / 433.4 MB, free: 10.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.004386, allocations: 4 kB / 433.4 MB, free: 10.39 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0002951/0.004681, allocations: 327.6 kB / 433.7 MB, free: 10.03 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.004719, allocations: 11.98 kB / 433.7 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.695e-05/0.004746, allocations: 38.73 kB / 433.8 MB, free: 9.973 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.851e-05/0.004774, allocations: 8.891 kB / 433.8 MB, free: 9.965 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.004898, allocations: 121.7 kB / 433.9 MB, free: 9.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-06/0.004906, allocations: 384 / 433.9 MB, free: 9.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.344e-06/0.004914, allocations: 384 / 433.9 MB, free: 9.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.005047, allocations: 115.7 kB / 434 MB, free: 9.695 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.005054, allocations: 0 / 434 MB, free: 9.695 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.585e-06/0.005061, allocations: 7.938 kB / 434 MB, free: 9.688 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.005066, allocations: 0 / 434 MB, free: 9.688 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.57e-05/0.005122, allocations: 81.61 kB / 434.1 MB, free: 9.602 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001263/0.005248, allocations: 136.6 kB / 434.2 MB, free: 9.426 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.908e-05/0.005327, allocations: 92.25 kB / 434.3 MB, free: 9.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.959e-05/0.005377, allocations: 78.58 kB / 434.4 MB, free: 9.234 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.271e-06/0.005383, allocations: 0 / 434.4 MB, free: 9.234 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.005407, allocations: 42.48 kB / 434.4 MB, free: 9.184 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 7.81e-07/0.005408, allocations: 0 / 434.4 MB, free: 9.184 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002599/0.005667, allocations: 283 kB / 434.7 MB, free: 8.883 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.005708, allocations: 89.12 kB / 434.8 MB, free: 8.777 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.007e-05/0.005778, allocations: 125.8 kB / 434.9 MB, free: 8.645 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.005788, allocations: 25.92 kB / 434.9 MB, free: 8.613 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.274e-05/0.00582, allocations: 92.12 kB / 435 MB, free: 8.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.633e-05/0.005857, allocations: 39.62 kB / 435.1 MB, free: 8.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.821e-05/0.005885, allocations: 21.72 kB / 435.1 MB, free: 8.453 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.212e-05/0.005977, allocations: 318.8 kB / 435.4 MB, free: 8.133 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.119e-05/0.006028, allocations: 69.69 kB / 435.5 MB, free: 8.059 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.51e-05/0.006073, allocations: 77.67 kB / 435.5 MB, free: 7.977 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.006185, allocations: 176.2 kB / 435.7 MB, free: 7.789 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.006187, allocations: 0 / 435.7 MB, free: 7.789 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001425/0.00633, allocations: 209 kB / 435.9 MB, free: 7.566 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.124e-05/0.006371, allocations: 52.59 kB / 436 MB, free: 7.512 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.006376, allocations: 3.984 kB / 436 MB, free: 7.508 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.006386, allocations: 0 / 436 MB, free: 7.508 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.512e-06/0.006388, allocations: 4 kB / 436 MB, free: 7.504 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.006393, allocations: 4 kB / 436 MB, free: 7.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.128e-05/0.006414, allocations: 11.83 kB / 436 MB, free: 7.488 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.006428, allocations: 7.938 kB / 436 MB, free: 7.48 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 8.316e-05/0.006512, allocations: 167.5 kB / 436.2 MB, free: 7.301 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.098e-05/0.006523, allocations: 15.89 kB / 436.2 MB, free: 7.285 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.838e-06/0.006532, allocations: 8.469 kB / 436.2 MB, free: 7.277 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.006534, allocations: 0 / 436.2 MB, free: 7.277 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.006538, allocations: 0 / 436.2 MB, free: 7.277 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.006541, allocations: 0 / 436.2 MB, free: 7.277 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.086e-05/0.006612, allocations: 140.7 kB / 436.3 MB, free: 7.098 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.006612, allocations: 0 / 436.3 MB, free: 7.098 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.006613, allocations: 4 kB / 436.3 MB, free: 7.094 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.006615, allocations: 3.938 kB / 436.3 MB, free: 7.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.006622, allocations: 0 / 436.3 MB, free: 7.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.006624, allocations: 4 kB / 436.3 MB, free: 7.086 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.006625, allocations: 0 / 436.3 MB, free: 7.086 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.006842, allocations: 316.3 kB / 436.6 MB, free: 6.746 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.161e-05/0.006854, allocations: 15.84 kB / 436.7 MB, free: 6.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.006868, allocations: 7.938 kB / 436.7 MB, free: 6.723 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.076e-05/0.006879, allocations: 0 / 436.7 MB, free: 6.723 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.526e-05/0.006894, allocations: 7.984 kB / 436.7 MB, free: 6.715 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.006899, allocations: 0 / 436.7 MB, free: 6.715 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.852e-05/0.006937, allocations: 103.7 kB / 436.8 MB, free: 6.613 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006937, allocations: 0 / 436.8 MB, free: 6.613 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001688/0.007106, allocations: 28 kB / 436.8 MB, free: 6.586 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.0004482/0.007554, allocations: 0.8577 MB / 437.7 MB, free: 5.688 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002314/0.007786, allocations: 314.7 kB / 438 MB, free: 5.355 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.007787, allocations: 0 / 438 MB, free: 5.355 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.671e-05/0.007884, allocations: 181 kB / 438.1 MB, free: 5.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/0.008078, allocations: 11.98 kB / 438.2 MB, free: 5.148 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.009414, allocations: 2.002 MB / 440.2 MB, free: 3.023 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.328e-05/0.009467, allocations: 83.31 kB / 440.2 MB, free: 2.922 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.823e-05/0.009485, allocations: 8.156 kB / 440.3 MB, free: 2.914 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.083e-05/0.009516, allocations: 24.48 kB / 440.3 MB, free: 2.891 MB / 410.7 MB Notification: Performance of SimCode: time 4.51e-07/0.009517, allocations: 0 / 440.3 MB, free: 2.891 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.172/0.1815, allocations: 3.262 MB / 443.5 MB, free: 54.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.635/6.816, allocations: 7.297 kB / 443.5 MB, free: 54.57 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.699012383818626] Failed to read output from testmodel.py, exit status != 0: 6.89641597867012 6.904610172 6.898606817 Calling exit ...