Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.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.001722/0.001722, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002042/0.002042, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.491/1.491, allocations: 230.6 MB / 258.3 MB, free: 7.734 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.1917/0.1917, allocations: 38.55 MB / 353.2 MB, free: 12.27 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_matrixEqCirc0,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0",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.002092/0.002092, allocations: 59.91 kB / 493.3 MB, free: 4.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.3921, allocations: 62.48 MB / 0.5427 GB, free: 216 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.004111/0.3962, allocations: 2.133 MB / 0.5448 GB, free: 14.53 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.3974, allocations: 0.5151 MB / 0.5453 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.258e-05/0.3974, allocations: 0 / 0.5453 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001906/0.3976, allocations: 19.53 kB / 0.5453 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.098e-05/0.3977, allocations: 29.59 kB / 0.5453 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003725/0.3981, allocations: 80.95 kB / 0.5454 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.3982, allocations: 62.08 kB / 0.5455 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.024e-05/0.3983, allocations: 1.688 kB / 0.5455 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001502/0.3984, allocations: 37.3 kB / 0.5455 GB, free: 14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.705e-05/0.3985, allocations: 29.38 kB / 0.5456 GB, free: 13.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.3985, allocations: 1.531 kB / 0.5456 GB, free: 13.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002518/0.3987, allocations: 112.3 kB / 0.5457 GB, free: 13.9 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.85e-05/0.3988, allocations: 17.52 kB / 0.5457 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.718e-05/0.3988, allocations: 8.219 kB / 0.5457 GB, free: 13.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000201/0.399, allocations: 97.7 kB / 0.5458 GB, free: 13.83 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.399, allocations: 1.156 kB / 0.5458 GB, free: 13.83 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.399, allocations: 0 / 0.5458 GB, free: 13.83 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.399, allocations: 0 / 0.5458 GB, free: 13.83 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004443/0.3995, allocations: 313.8 kB / 0.5461 GB, free: 13.51 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.3995, allocations: 14.52 kB / 0.5461 GB, free: 13.51 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.497e-05/0.3995, allocations: 192 / 0.5461 GB, free: 13.51 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.372e-05/0.3996, allocations: 36.91 kB / 0.5461 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.318e-05/0.3996, allocations: 7.078 kB / 0.5461 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.3998, allocations: 133 kB / 0.5463 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.3998, allocations: 5.281 kB / 0.5463 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.3998, allocations: 1.062 kB / 0.5463 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.4, allocations: 94.72 kB / 0.5464 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.4, allocations: 0 / 0.5464 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.4, allocations: 5.312 kB / 0.5464 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.4, allocations: 0 / 0.5464 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.463e-05/0.4001, allocations: 58.44 kB / 0.5464 GB, free: 13.19 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001669/0.4003, allocations: 131.6 kB / 0.5465 GB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.4004, allocations: 84.94 kB / 0.5466 GB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.381e-05/0.4005, allocations: 67.3 kB / 0.5467 GB, free: 12.9 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.4005, allocations: 1.375 kB / 0.5467 GB, free: 12.9 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.4006, allocations: 39.94 kB / 0.5467 GB, free: 12.85 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.4006, allocations: 0 / 0.5467 GB, free: 12.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003997/0.401, allocations: 239.1 kB / 0.547 GB, free: 12.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.42e-05/0.401, allocations: 82.95 kB / 0.547 GB, free: 12.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.4012, allocations: 111.4 kB / 0.5471 GB, free: 12.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.4012, allocations: 25.7 kB / 0.5472 GB, free: 12.45 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.007e-05/0.4012, allocations: 90.72 kB / 0.5473 GB, free: 12.36 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.494e-05/0.4013, allocations: 26.62 kB / 0.5473 GB, free: 12.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-05/0.4013, allocations: 24.23 kB / 0.5473 GB, free: 12.31 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003053/0.4016, allocations: 316.5 kB / 0.5476 GB, free: 12 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.728e-05/0.4017, allocations: 66.39 kB / 0.5477 GB, free: 11.95 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.492e-05/0.4018, allocations: 57.91 kB / 0.5477 GB, free: 11.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003037/0.4021, allocations: 140.7 kB / 0.5479 GB, free: 11.81 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4021, allocations: 0 / 0.5479 GB, free: 11.81 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001988/0.4023, allocations: 171.9 kB / 0.548 GB, free: 11.69 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.142e-05/0.4023, allocations: 44.97 kB / 0.5481 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.4023, allocations: 0 / 0.5481 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.4023, allocations: 1.156 kB / 0.5481 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/0.4023, allocations: 0 / 0.5481 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.4024, allocations: 5.562 kB / 0.5481 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.724e-05/0.4024, allocations: 9.172 kB / 0.5481 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.455e-05/0.4024, allocations: 6.734 kB / 0.5481 GB, free: 11.63 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.000209/0.4026, allocations: 158.8 kB / 0.5482 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.688e-05/0.4027, allocations: 7.578 kB / 0.5482 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.961e-05/0.4027, allocations: 9.812 kB / 0.5483 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.4027, allocations: 9.531 kB / 0.5483 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4027, allocations: 0 / 0.5483 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.4027, allocations: 0 / 0.5483 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.4029, allocations: 134.1 kB / 0.5484 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4029, allocations: 7.938 kB / 0.5484 GB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.212e-06/0.4029, allocations: 1.531 kB / 0.5484 GB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.4029, allocations: 0 / 0.5484 GB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.4029, allocations: 2.25 kB / 0.5484 GB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.4029, allocations: 0 / 0.5484 GB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4029, allocations: 0 / 0.5484 GB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003632/0.4033, allocations: 256.7 kB / 0.5486 GB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.073e-05/0.4033, allocations: 2.25 kB / 0.5486 GB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.4033, allocations: 2.062 kB / 0.5486 GB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.687e-05/0.4033, allocations: 0.9375 kB / 0.5486 GB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.35e-05/0.4033, allocations: 6.141 kB / 0.5487 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.4033, allocations: 10.16 kB / 0.5487 GB, free: 11.09 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.234e-05/0.4034, allocations: 87.95 kB / 0.5487 GB, free: 11.01 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4034, allocations: 0 / 0.5487 GB, free: 11.01 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002328/0.4036, allocations: 27.94 kB / 0.5488 GB, free: 11 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.0007413/0.4044, allocations: 0.8049 MB / 0.5496 GB, free: 10.28 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003172/0.4047, allocations: 240.1 kB / 0.5498 GB, free: 10.11 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.4047, allocations: 1.156 kB / 0.5498 GB, free: 10.11 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.4049, allocations: 151.4 kB / 0.5499 GB, free: 9.992 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.4051, allocations: 15.44 kB / 0.55 GB, free: 9.984 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.4072, allocations: 1.761 MB / 0.5517 GB, free: 8.484 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.842e-05/0.4073, allocations: 82.66 kB / 0.5517 GB, free: 8.398 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.841e-05/0.4073, allocations: 1.031 kB / 0.5518 GB, free: 8.398 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.577e-05/0.4073, allocations: 16.48 kB / 0.5518 GB, free: 8.383 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4073, allocations: 0 / 0.5518 GB, free: 8.383 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02432/0.4316, allocations: 2.401 MB / 0.5541 GB, free: 7.117 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.86, allocations: 10.98 kB / 0.5541 GB, free: 7.109 MB / 398.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.731899385922588] Failed to read output from testmodel.py, exit status != 0: 12.022670172038488 12.037351422 11.635196096 Calling exit ...