Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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.001462/0.001462, allocations: 105.1 kB / 21.21 MB, free: 0.6523 MB / 14.72 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.001667/0.001667, allocations: 211.9 kB / 24.51 MB, free: 3.941 MB / 14.72 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 1.494/1.494, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.1921/0.1921, allocations: 38.56 MB / 353.3 MB, free: 12.41 MB / 286.1 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_matrixEqCirc2,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002947/0.002947, allocations: 59.91 kB / 493.3 MB, free: 4.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3878, allocations: 62.47 MB / 0.5427 GB, free: 268 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.005408/0.3932, allocations: 2.134 MB / 0.5448 GB, free: 14.58 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.3942, allocations: 0.5188 MB / 0.5453 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.852e-05/0.3943, allocations: 0 / 0.5453 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001497/0.3944, allocations: 11.08 kB / 0.5453 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001216/0.3946, allocations: 27.78 kB / 0.5453 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004527/0.395, allocations: 75.25 kB / 0.5454 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.3952, allocations: 67.19 kB / 0.5455 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.953e-05/0.3952, allocations: 2.75 kB / 0.5455 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.3954, allocations: 36.41 kB / 0.5455 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.217e-05/0.3955, allocations: 28.22 kB / 0.5455 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.3955, allocations: 1.375 kB / 0.5455 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002514/0.3957, allocations: 112.6 kB / 0.5456 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.598e-05/0.3958, allocations: 34.97 kB / 0.5457 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.82e-05/0.3958, allocations: 18.69 kB / 0.5457 GB, free: 13.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002506/0.3961, allocations: 131.7 kB / 0.5458 GB, free: 13.85 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3961, allocations: 0 / 0.5458 GB, free: 13.85 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3961, allocations: 1.5 kB / 0.5458 GB, free: 13.85 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.3961, allocations: 0 / 0.5458 GB, free: 13.85 MB / 398.1 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.0005563/0.3966, allocations: 361.3 kB / 0.5462 GB, free: 13.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.3967, allocations: 17.61 kB / 0.5462 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.122e-05/0.3967, allocations: 1.469 kB / 0.5462 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.804e-05/0.3968, allocations: 38.78 kB / 0.5462 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.649e-05/0.3968, allocations: 17.41 kB / 0.5462 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.397, allocations: 130.2 kB / 0.5464 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.397, allocations: 5.281 kB / 0.5464 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.397, allocations: 1 kB / 0.5464 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/0.3973, allocations: 168.7 kB / 0.5465 GB, free: 13.19 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.3973, allocations: 4 kB / 0.5465 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-06/0.3973, allocations: 1.094 kB / 0.5465 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.3973, allocations: 4 kB / 0.5465 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.3975, allocations: 125.2 kB / 0.5467 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002336/0.3977, allocations: 154.9 kB / 0.5468 GB, free: 12.94 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.3979, allocations: 144.5 kB / 0.5469 GB, free: 12.85 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/0.3981, allocations: 133.3 kB / 0.5471 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.3981, allocations: 9 kB / 0.5471 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.3981, allocations: 31.72 kB / 0.5471 GB, free: 12.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.253e-06/0.3981, allocations: 3.938 kB / 0.5471 GB, free: 12.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0007065/0.3988, allocations: 470 kB / 0.5476 GB, free: 12.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.218e-05/0.3989, allocations: 95.91 kB / 0.5477 GB, free: 12.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.399, allocations: 133.6 kB / 0.5478 GB, free: 12.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.3991, allocations: 27.02 kB / 0.5478 GB, free: 12.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.049e-05/0.3991, allocations: 91.86 kB / 0.5479 GB, free: 12.14 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.204e-05/0.3992, allocations: 81.12 kB / 0.548 GB, free: 12.07 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.235e-05/0.3993, allocations: 26.52 kB / 0.548 GB, free: 12.05 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.3995, allocations: 328.3 kB / 0.5483 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.3996, allocations: 124.5 kB / 0.5484 GB, free: 11.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.3998, allocations: 135 kB / 0.5486 GB, free: 11.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003476/0.4001, allocations: 299.2 kB / 0.5488 GB, free: 11.44 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4001, allocations: 1.469 kB / 0.5488 GB, free: 11.44 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004008/0.4005, allocations: 318.2 kB / 0.5492 GB, free: 11.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.792e-05/0.4006, allocations: 69.5 kB / 0.5492 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.4006, allocations: 0 / 0.5492 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.4006, allocations: 0 / 0.5492 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.633e-06/0.4006, allocations: 1.188 kB / 0.5492 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.4006, allocations: 0 / 0.5492 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.816e-05/0.4007, allocations: 12.61 kB / 0.5492 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/0.4007, allocations: 9.672 kB / 0.5492 GB, free: 11.2 MB / 398.1 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.000218/0.4009, allocations: 193.9 kB / 0.5494 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.4009, allocations: 16.81 kB / 0.5494 GB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.442e-05/0.401, allocations: 15.89 kB / 0.5495 GB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.401, allocations: 4 kB / 0.5495 GB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.401, allocations: 0 / 0.5495 GB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.401, allocations: 1.062 kB / 0.5495 GB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.4012, allocations: 163.5 kB / 0.5496 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.4012, allocations: 1.156 kB / 0.5496 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.156e-06/0.4012, allocations: 3.938 kB / 0.5496 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.4012, allocations: 1.062 kB / 0.5496 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.4012, allocations: 4.312 kB / 0.5496 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4012, allocations: 0 / 0.5496 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.4012, allocations: 0 / 0.5496 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006252/0.4018, allocations: 0.5187 MB / 0.5501 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.04e-05/0.4018, allocations: 20.94 kB / 0.5502 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.4019, allocations: 3.938 kB / 0.5502 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.828e-05/0.4019, allocations: 8.5 kB / 0.5502 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.162e-05/0.4019, allocations: 1.312 kB / 0.5502 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.4019, allocations: 5.188 kB / 0.5502 GB, free: 10.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.339e-05/0.402, allocations: 112.7 kB / 0.5503 GB, free: 10.42 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.402, allocations: 0 / 0.5503 GB, free: 10.42 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.4023, allocations: 45.94 kB / 0.5503 GB, free: 10.42 MB / 398.1 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.0009928/0.4033, allocations: 1.053 MB / 0.5514 GB, free: 9.617 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006182/0.4039, allocations: 0.5054 MB / 0.5518 GB, free: 9.348 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4039, allocations: 1.281 kB / 0.5518 GB, free: 9.348 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003821/0.4043, allocations: 298 kB / 0.5521 GB, free: 9.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.4046, allocations: 17.91 kB / 0.5521 GB, free: 9.176 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00355/0.4081, allocations: 2.796 MB / 0.5549 GB, free: 7.266 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.4082, allocations: 114.2 kB / 0.555 GB, free: 7.129 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.64e-05/0.4083, allocations: 8.156 kB / 0.555 GB, free: 7.121 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.694e-05/0.4083, allocations: 27.42 kB / 0.555 GB, free: 7.094 MB / 398.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4083, allocations: 0 / 0.555 GB, free: 7.094 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02617/0.4345, allocations: 3.9 MB / 0.5588 GB, free: 3.328 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.93, allocations: 7.938 kB / 0.5588 GB, free: 3.324 MB / 398.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.821425829897635] Failed to read output from testmodel.py, exit status != 0: 12.087613630923443 12.10409061 11.703083727 Calling exit ...