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.001411/0.001411, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001584/0.001584, allocations: 214.4 kB / 23.74 MB, free: 4.656 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.527/1.527, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.2121/0.2121, allocations: 38.53 MB / 352.5 MB, free: 12.53 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_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: 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.002043/0.002043, allocations: 70.56 kB / 492.6 MB, free: 4.871 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3878/0.3899, allocations: 62.47 MB / 0.542 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.003478/0.3934, allocations: 2.152 MB / 0.5441 GB, free: 14.72 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009148/0.3943, allocations: 0.5658 MB / 0.5447 GB, free: 14.28 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.851e-05/0.3943, allocations: 0 / 0.5447 GB, free: 14.28 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001333/0.3944, allocations: 13.73 kB / 0.5447 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.053e-05/0.3945, allocations: 27.19 kB / 0.5447 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003871/0.3949, allocations: 77.47 kB / 0.5448 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.3951, allocations: 63.61 kB / 0.5448 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.383e-05/0.3951, allocations: 11.52 kB / 0.5449 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.3952, allocations: 27.44 kB / 0.5449 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.764e-05/0.3953, allocations: 33.47 kB / 0.5449 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.3953, allocations: 0 / 0.5449 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002384/0.3956, allocations: 128.8 kB / 0.545 GB, free: 14.03 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.854e-05/0.3956, allocations: 38.53 kB / 0.5451 GB, free: 14.01 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.414e-05/0.3957, allocations: 45.19 kB / 0.5451 GB, free: 13.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002445/0.3959, allocations: 153.9 kB / 0.5453 GB, free: 13.89 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3959, allocations: 0 / 0.5453 GB, free: 13.89 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3959, allocations: 4 kB / 0.5453 GB, free: 13.89 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.3959, allocations: 5.312 kB / 0.5453 GB, free: 13.89 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0005098/0.3964, allocations: 406.7 kB / 0.5457 GB, free: 13.51 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.3965, allocations: 17.12 kB / 0.5457 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.646e-05/0.3965, allocations: 45.39 kB / 0.5457 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.202e-05/0.3966, allocations: 18.39 kB / 0.5457 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.3967, allocations: 140.9 kB / 0.5459 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.292e-06/0.3968, allocations: 1.156 kB / 0.5459 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.3968, allocations: 9.266 kB / 0.5459 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.397, allocations: 123.2 kB / 0.546 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.397, allocations: 0 / 0.546 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.397, allocations: 1 kB / 0.546 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.397, allocations: 0 / 0.546 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.3971, allocations: 97.89 kB / 0.5461 GB, free: 13.19 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001937/0.3973, allocations: 177.6 kB / 0.5463 GB, free: 12.99 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.3974, allocations: 109.2 kB / 0.5464 GB, free: 12.94 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.3976, allocations: 101.2 kB / 0.5465 GB, free: 12.89 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-06/0.3976, allocations: 0 / 0.5465 GB, free: 12.89 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.3976, allocations: 39.89 kB / 0.5465 GB, free: 12.85 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 8.82e-07/0.3976, allocations: 3.938 kB / 0.5465 GB, free: 12.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.0006866/0.3983, allocations: 478.4 kB / 0.547 GB, free: 12.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.827e-05/0.3984, allocations: 107.9 kB / 0.5471 GB, free: 12.56 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.3985, allocations: 148.4 kB / 0.5472 GB, free: 12.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.3986, allocations: 26.45 kB / 0.5472 GB, free: 12.4 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.037e-05/0.3986, allocations: 100.5 kB / 0.5473 GB, free: 12.3 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/0.3988, allocations: 138.2 kB / 0.5475 GB, free: 12.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.429e-05/0.3988, allocations: 32.05 kB / 0.5475 GB, free: 12.15 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.399, allocations: 333 kB / 0.5478 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.3991, allocations: 104.8 kB / 0.5479 GB, free: 11.78 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.3992, allocations: 88.38 kB / 0.548 GB, free: 11.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003854/0.3996, allocations: 366.9 kB / 0.5483 GB, free: 11.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3996, allocations: 1.25 kB / 0.5483 GB, free: 11.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003873/0.4, allocations: 326.2 kB / 0.5487 GB, free: 11.44 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001058/0.4001, allocations: 86.33 kB / 0.5487 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.4001, allocations: 0 / 0.5487 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.4001, allocations: 1.156 kB / 0.5487 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.396e-06/0.4001, allocations: 3.984 kB / 0.5487 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.4001, allocations: 1.094 kB / 0.5487 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.303e-05/0.4002, allocations: 19.69 kB / 0.5488 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-05/0.4002, allocations: 6.5 kB / 0.5488 GB, free: 11.37 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.0002207/0.4004, allocations: 233 kB / 0.549 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.707e-05/0.4005, allocations: 32.56 kB / 0.549 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.13e-05/0.4005, allocations: 13.88 kB / 0.549 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.4005, allocations: 0 / 0.549 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.4005, allocations: 1.344 kB / 0.549 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.4005, allocations: 0 / 0.549 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/0.4007, allocations: 206.1 kB / 0.5492 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.4007, allocations: 0 / 0.5492 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.4007, allocations: 0 / 0.5492 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.4007, allocations: 1.438 kB / 0.5492 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.4007, allocations: 5.75 kB / 0.5492 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.4007, allocations: 1.375 kB / 0.5492 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4007, allocations: 4 kB / 0.5492 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.4019, allocations: 0.9035 MB / 0.5501 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.485e-05/0.4019, allocations: 25.83 kB / 0.5501 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.187e-05/0.402, allocations: 6.344 kB / 0.5502 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.456e-05/0.402, allocations: 5.844 kB / 0.5502 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.402, allocations: 10.95 kB / 0.5502 GB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.402, allocations: 15.09 kB / 0.5502 GB, free: 10.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.065e-05/0.4021, allocations: 118.8 kB / 0.5503 GB, free: 10.42 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4021, allocations: 0 / 0.5503 GB, free: 10.42 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002857/0.4024, allocations: 66.81 kB / 0.5504 GB, free: 10.41 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.00153/0.404, allocations: 1.453 MB / 0.5518 GB, free: 9.504 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001014/0.405, allocations: 0.8174 MB / 0.5526 GB, free: 9.191 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.405, allocations: 4.094 kB / 0.5526 GB, free: 9.188 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006609/0.4056, allocations: 0.6044 MB / 0.5532 GB, free: 8.703 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.4059, allocations: 34.36 kB / 0.5532 GB, free: 8.672 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00406/0.41, allocations: 3.457 MB / 0.5566 GB, free: 5.125 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004507/0.4104, allocations: 0.7478 MB / 0.5573 GB, free: 4.348 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.995e-05/0.4105, allocations: 0 / 0.5573 GB, free: 4.348 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.791e-05/0.4105, allocations: 39.45 kB / 0.5573 GB, free: 4.309 MB / 398.1 MB Notification: Performance of SimCode: time 6.42e-07/0.4105, allocations: 4 kB / 0.5574 GB, free: 4.305 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03657/0.4471, allocations: 5.214 MB / 0.5624 GB, free: 15.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.96, allocations: 4 kB / 0.5624 GB, free: 15.22 MB / 414.1 MB " [Timeout remaining time 648] (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: 14.803588845999911] Failed to read output from testmodel.py, exit status != 0: 12.069807565072551 12.095076424 11.694756167 Calling exit ...