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.001475/0.001475, allocations: 105.1 kB / 21.21 MB, free: 0.6484 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.001679/0.001679, allocations: 212.5 kB / 24.51 MB, free: 3.938 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.524/1.524, allocations: 230.6 MB / 258.3 MB, free: 7.988 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.1919/0.1919, allocations: 38.55 MB / 353.2 MB, free: 12.37 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3",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.002024/0.002024, allocations: 70.86 kB / 493.3 MB, free: 4.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.3882, allocations: 62.46 MB / 0.5427 GB, free: 280 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.004217/0.3925, allocations: 2.134 MB / 0.5448 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008931/0.3934, allocations: 0.5167 MB / 0.5453 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.13e-05/0.3934, allocations: 1.375 kB / 0.5453 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000159/0.3936, allocations: 9.297 kB / 0.5453 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.3937, allocations: 34.7 kB / 0.5453 GB, free: 14.17 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004156/0.3941, allocations: 73.81 kB / 0.5454 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.3943, allocations: 68.58 kB / 0.5455 GB, free: 14.08 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.247e-05/0.3943, allocations: 2.75 kB / 0.5455 GB, free: 14.08 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.3945, allocations: 32.41 kB / 0.5455 GB, free: 14.06 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.14e-05/0.3945, allocations: 32.2 kB / 0.5455 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.3945, allocations: 1.375 kB / 0.5455 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002428/0.3948, allocations: 111.8 kB / 0.5456 GB, free: 13.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.396e-05/0.3949, allocations: 41.66 kB / 0.5457 GB, free: 13.94 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.34e-05/0.3949, allocations: 30.84 kB / 0.5457 GB, free: 13.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002878/0.3952, allocations: 154.6 kB / 0.5459 GB, free: 13.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3952, allocations: 0 / 0.5459 GB, free: 13.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3952, allocations: 4 kB / 0.5459 GB, free: 13.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.3952, allocations: 0 / 0.5459 GB, free: 13.84 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.0005959/0.3958, allocations: 410.9 kB / 0.5463 GB, free: 13.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.3959, allocations: 13.86 kB / 0.5463 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.762e-05/0.3959, allocations: 6.641 kB / 0.5463 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.681e-05/0.3959, allocations: 48.55 kB / 0.5463 GB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.92e-05/0.396, allocations: 26.02 kB / 0.5464 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.3962, allocations: 142.7 kB / 0.5465 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.3962, allocations: 0 / 0.5465 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.3962, allocations: 1.312 kB / 0.5465 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003212/0.3965, allocations: 231.3 kB / 0.5467 GB, free: 13.1 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3965, allocations: 0 / 0.5467 GB, free: 13.1 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.3965, allocations: 5.062 kB / 0.5467 GB, free: 13.1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.3965, allocations: 0 / 0.5467 GB, free: 13.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002019/0.3967, allocations: 189.7 kB / 0.5469 GB, free: 13.01 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002001/0.3969, allocations: 174.9 kB / 0.5471 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/0.3972, allocations: 208.8 kB / 0.5473 GB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002212/0.3974, allocations: 205.5 kB / 0.5475 GB, free: 12.6 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.3974, allocations: 0.9688 kB / 0.5475 GB, free: 12.6 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.3974, allocations: 35.59 kB / 0.5475 GB, free: 12.56 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 1.152e-06/0.3974, allocations: 0 / 0.5475 GB, free: 12.56 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.000969/0.3984, allocations: 0.7118 MB / 0.5482 GB, free: 12.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.245e-05/0.3985, allocations: 108.5 kB / 0.5483 GB, free: 12.12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.3987, allocations: 150.3 kB / 0.5484 GB, free: 12 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.3987, allocations: 29.64 kB / 0.5485 GB, free: 11.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.677e-05/0.3987, allocations: 100.7 kB / 0.5486 GB, free: 11.86 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/0.3989, allocations: 138.5 kB / 0.5487 GB, free: 11.74 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.142e-05/0.3989, allocations: 31.7 kB / 0.5487 GB, free: 11.71 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.3991, allocations: 338.4 kB / 0.549 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.3993, allocations: 188 kB / 0.5492 GB, free: 11.3 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/0.3995, allocations: 202 kB / 0.5494 GB, free: 11.2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005047/0.4, allocations: 453.6 kB / 0.5498 GB, free: 10.99 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4, allocations: 0 / 0.5498 GB, free: 10.99 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005921/0.4006, allocations: 462 kB / 0.5503 GB, free: 10.76 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.911e-05/0.4007, allocations: 88.66 kB / 0.5504 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.4007, allocations: 0 / 0.5504 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.4007, allocations: 0 / 0.5504 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.377e-06/0.4007, allocations: 3.938 kB / 0.5504 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.4007, allocations: 1.156 kB / 0.5504 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.629e-05/0.4008, allocations: 20.44 kB / 0.5504 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.522e-05/0.4008, allocations: 9.562 kB / 0.5504 GB, free: 10.68 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.0002276/0.401, allocations: 234.3 kB / 0.5506 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.907e-05/0.4011, allocations: 24.58 kB / 0.5507 GB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.83e-05/0.4011, allocations: 9.406 kB / 0.5507 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.4011, allocations: 1.219 kB / 0.5507 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.4011, allocations: 0 / 0.5507 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.4011, allocations: 0 / 0.5507 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.4013, allocations: 190.5 kB / 0.5508 GB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4013, allocations: 3.938 kB / 0.5508 GB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.52e-07/0.4013, allocations: 1.094 kB / 0.5509 GB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.4013, allocations: 0 / 0.5509 GB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.4013, allocations: 6.562 kB / 0.5509 GB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.4013, allocations: 7.984 kB / 0.5509 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.4013, allocations: 1.188 kB / 0.5509 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.4024, allocations: 0.7759 MB / 0.5516 GB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.277e-05/0.4024, allocations: 30.08 kB / 0.5517 GB, free: 9.867 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/0.4024, allocations: 14.48 kB / 0.5517 GB, free: 9.859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.721e-05/0.4025, allocations: 5.5 kB / 0.5517 GB, free: 9.859 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.4025, allocations: 10.27 kB / 0.5517 GB, free: 9.852 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.4025, allocations: 6.812 kB / 0.5517 GB, free: 9.852 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001013/0.4026, allocations: 118.4 kB / 0.5518 GB, free: 9.758 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4026, allocations: 0.9375 kB / 0.5518 GB, free: 9.758 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003118/0.4029, allocations: 61.72 kB / 0.5519 GB, free: 9.754 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.0015/0.4044, allocations: 1.327 MB / 0.5532 GB, free: 8.844 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009677/0.4054, allocations: 0.7634 MB / 0.5539 GB, free: 8.406 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4054, allocations: 0 / 0.5539 GB, free: 8.406 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005779/0.406, allocations: 444.9 kB / 0.5543 GB, free: 7.953 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.4063, allocations: 31.78 kB / 0.5544 GB, free: 7.922 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004376/0.4107, allocations: 3.778 MB / 0.558 GB, free: 4.023 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001426/0.4108, allocations: 138.7 kB / 0.5582 GB, free: 3.867 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.962e-05/0.4108, allocations: 4 kB / 0.5582 GB, free: 3.863 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.163e-05/0.4109, allocations: 43.36 kB / 0.5582 GB, free: 3.82 MB / 398.1 MB Notification: Performance of SimCode: time 8.31e-07/0.4109, allocations: 0 / 0.5582 GB, free: 3.82 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02742/0.4383, allocations: 5.25 MB / 0.5634 GB, free: 14.73 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.97, allocations: 4.062 kB / 0.5634 GB, free: 14.73 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.951358597027138] Failed to read output from testmodel.py, exit status != 0: 12.14586581196636 12.174700326 11.774718927 Calling exit ...