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.001749/0.001749, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002014/0.002014, allocations: 211.7 kB / 23.73 MB, free: 4.387 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.498/1.498, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.215/0.215, allocations: 38.56 MB / 352.5 MB, free: 12.3 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_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: 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.002111/0.002111, allocations: 59.91 kB / 492.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3648, allocations: 62.48 MB / 0.542 GB, free: 260 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.00422/0.3691, allocations: 2.139 MB / 0.544 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.3701, allocations: 0.508 MB / 0.5445 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.054e-05/0.3702, allocations: 7.938 kB / 0.5445 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001481/0.3703, allocations: 9.734 kB / 0.5446 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001528/0.3705, allocations: 30.55 kB / 0.5446 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000443/0.3709, allocations: 84.7 kB / 0.5447 GB, free: 14.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.3711, allocations: 60.2 kB / 0.5447 GB, free: 14.06 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.323e-05/0.3711, allocations: 0 / 0.5447 GB, free: 14.06 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.3713, allocations: 37.25 kB / 0.5448 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.191e-05/0.3714, allocations: 29.27 kB / 0.5448 GB, free: 14.03 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.3714, allocations: 3.938 kB / 0.5448 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002487/0.3716, allocations: 100.7 kB / 0.5449 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.924e-05/0.3717, allocations: 16.17 kB / 0.5449 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.85e-05/0.3717, allocations: 17.36 kB / 0.5449 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002562/0.372, allocations: 109.5 kB / 0.545 GB, free: 13.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.372, allocations: 0 / 0.545 GB, free: 13.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.372, allocations: 1.375 kB / 0.545 GB, free: 13.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.363e-06/0.372, allocations: 0 / 0.545 GB, free: 13.88 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000525/0.3725, allocations: 327.1 kB / 0.5453 GB, free: 13.55 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.3726, allocations: 13.58 kB / 0.5454 GB, free: 13.54 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.029e-05/0.3726, allocations: 41.48 kB / 0.5454 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.571e-05/0.3727, allocations: 15.58 kB / 0.5454 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.3729, allocations: 117.3 kB / 0.5455 GB, free: 13.35 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.3729, allocations: 5.734 kB / 0.5455 GB, free: 13.35 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.3729, allocations: 3.938 kB / 0.5455 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.3732, allocations: 114.1 kB / 0.5456 GB, free: 13.26 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.3732, allocations: 0 / 0.5456 GB, free: 13.26 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.3732, allocations: 1.156 kB / 0.5456 GB, free: 13.26 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.3732, allocations: 0 / 0.5456 GB, free: 13.26 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.3733, allocations: 77.23 kB / 0.5457 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002012/0.3735, allocations: 134 kB / 0.5458 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.3736, allocations: 101.2 kB / 0.5459 GB, free: 12.97 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.3737, allocations: 90.25 kB / 0.546 GB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.591e-06/0.3737, allocations: 0 / 0.546 GB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.949e-05/0.3738, allocations: 31.84 kB / 0.5461 GB, free: 12.87 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.042e-06/0.3738, allocations: 0 / 0.5461 GB, free: 12.87 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004489/0.3742, allocations: 291.3 kB / 0.5463 GB, free: 12.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.046e-05/0.3743, allocations: 85.45 kB / 0.5464 GB, free: 12.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.3744, allocations: 127.1 kB / 0.5465 GB, free: 12.47 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.3745, allocations: 25.7 kB / 0.5466 GB, free: 12.44 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.307e-05/0.3745, allocations: 90.19 kB / 0.5466 GB, free: 12.35 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.397e-05/0.3746, allocations: 40.36 kB / 0.5467 GB, free: 12.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.472e-05/0.3746, allocations: 24.47 kB / 0.5467 GB, free: 12.29 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.3748, allocations: 326.6 kB / 0.547 GB, free: 11.97 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.3749, allocations: 81.02 kB / 0.5471 GB, free: 11.92 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.009e-05/0.375, allocations: 76.27 kB / 0.5472 GB, free: 11.87 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002159/0.3752, allocations: 178.9 kB / 0.5473 GB, free: 11.76 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3753, allocations: 0 / 0.5473 GB, free: 11.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002627/0.3755, allocations: 207.8 kB / 0.5475 GB, free: 11.62 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.573e-05/0.3756, allocations: 48.78 kB / 0.5476 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.3756, allocations: 3.984 kB / 0.5476 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.3756, allocations: 0.9688 kB / 0.5476 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.162e-06/0.3756, allocations: 0 / 0.5476 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.3756, allocations: 5.125 kB / 0.5476 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.98e-05/0.3756, allocations: 6.156 kB / 0.5476 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.3757, allocations: 3.188 kB / 0.5476 GB, free: 11.57 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.0001596/0.3758, allocations: 173 kB / 0.5478 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.178e-05/0.3758, allocations: 12.97 kB / 0.5478 GB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2e-05/0.3759, allocations: 5.562 kB / 0.5478 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.3759, allocations: 1.344 kB / 0.5478 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3759, allocations: 0 / 0.5478 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.3759, allocations: 3.984 kB / 0.5478 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.376, allocations: 136.3 kB / 0.5479 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.376, allocations: 9 kB / 0.5479 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.82e-07/0.376, allocations: 0 / 0.5479 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.376, allocations: 1.25 kB / 0.5479 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.376, allocations: 6.688 kB / 0.5479 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.376, allocations: 0 / 0.5479 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.376, allocations: 7.922 kB / 0.5479 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004128/0.3765, allocations: 323.9 kB / 0.5482 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.584e-05/0.3765, allocations: 10.14 kB / 0.5483 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.3765, allocations: 3.531 kB / 0.5483 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.058e-05/0.3765, allocations: 1.156 kB / 0.5483 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.32e-05/0.3765, allocations: 2.281 kB / 0.5483 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.3765, allocations: 6.5 kB / 0.5483 GB, free: 10.99 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.318e-05/0.3766, allocations: 99.03 kB / 0.5484 GB, free: 10.9 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3766, allocations: 0 / 0.5484 GB, free: 10.9 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000253/0.3769, allocations: 35.56 kB / 0.5484 GB, free: 10.89 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.000843/0.3777, allocations: 0.8576 MB / 0.5492 GB, free: 10.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004129/0.3781, allocations: 311.9 kB / 0.5495 GB, free: 9.965 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3781, allocations: 0 / 0.5495 GB, free: 9.965 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.3783, allocations: 193.1 kB / 0.5497 GB, free: 9.832 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.3786, allocations: 20.97 kB / 0.5497 GB, free: 9.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002378/0.381, allocations: 2.002 MB / 0.5517 GB, free: 8.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.3811, allocations: 83.97 kB / 0.5518 GB, free: 8.148 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.972e-05/0.3811, allocations: 5 kB / 0.5518 GB, free: 8.145 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.112e-05/0.3812, allocations: 20.39 kB / 0.5518 GB, free: 8.125 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3812, allocations: 1.406 kB / 0.5518 GB, free: 8.125 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03604/0.4172, allocations: 3.14 MB / 0.5549 GB, free: 6.281 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.58, allocations: 10.44 kB / 0.5549 GB, free: 6.277 MB / 398.1 MB " [Timeout remaining time 648] (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: 14.430944905150682] Failed to read output from testmodel.py, exit status != 0: 11.688096717000008 11.702930302 11.327847473 Calling exit ...