Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.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.001819/0.001819, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002285/0.002285, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.459/1.459, allocations: 230.6 MB / 258.3 MB, free: 7.816 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.1823/0.1823, allocations: 38.56 MB / 353.2 MB, free: 12.32 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: translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") [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.002161/0.002161, allocations: 71.89 kB / 493.7 MB, free: 4.191 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3894/0.3916, allocations: 62.47 MB / 0.5432 GB, free: 420 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.00378/0.3953, allocations: 2.186 MB / 0.5453 GB, free: 14.69 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003364/0.3987, allocations: 1.894 MB / 0.5472 GB, free: 13.3 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.191e-05/0.3988, allocations: 5.688 kB / 0.5472 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001865/0.399, allocations: 14.58 kB / 0.5472 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.3991, allocations: 30.16 kB / 0.5472 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002671/0.4017, allocations: 0.9623 MB / 0.5481 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.4019, allocations: 79.83 kB / 0.5482 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.054e-05/0.4019, allocations: 6.484 kB / 0.5482 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001556/0.4021, allocations: 44.28 kB / 0.5483 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.909e-05/0.4022, allocations: 46.06 kB / 0.5483 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.4022, allocations: 0.9062 kB / 0.5483 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00348/0.4057, allocations: 1.894 MB / 0.5502 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.598e-05/0.4057, allocations: 14.66 kB / 0.5502 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.447e-05/0.4058, allocations: 18.61 kB / 0.5502 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00202/0.4078, allocations: 1.32 MB / 0.5515 GB, free: 10.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4078, allocations: 1.125 kB / 0.5515 GB, free: 10.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4078, allocations: 0 / 0.5515 GB, free: 10.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.4078, allocations: 0 / 0.5515 GB, free: 10.5 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.0007381/0.4085, allocations: 440.3 kB / 0.5519 GB, free: 10.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.4086, allocations: 13.58 kB / 0.5519 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.153e-05/0.4086, allocations: 9.297 kB / 0.5519 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.4088, allocations: 136.9 kB / 0.5521 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.4088, allocations: 5.547 kB / 0.5521 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.4088, allocations: 0 / 0.5521 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.409, allocations: 96.12 kB / 0.5522 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.409, allocations: 3.938 kB / 0.5522 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.409, allocations: 1.312 kB / 0.5522 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-06/0.409, allocations: 0 / 0.5522 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.884e-05/0.4091, allocations: 63.92 kB / 0.5522 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001525/0.4093, allocations: 116.1 kB / 0.5523 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.4094, allocations: 78.67 kB / 0.5524 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.584e-05/0.4094, allocations: 71.31 kB / 0.5525 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-06/0.4094, allocations: 1.094 kB / 0.5525 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.4095, allocations: 31.81 kB / 0.5525 GB, free: 9.504 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 9.41e-07/0.4095, allocations: 0 / 0.5525 GB, free: 9.504 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000354/0.4098, allocations: 244.8 kB / 0.5527 GB, free: 9.332 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.718e-05/0.4099, allocations: 83.8 kB / 0.5528 GB, free: 9.238 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.41, allocations: 127.2 kB / 0.5529 GB, free: 9.125 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.41, allocations: 29.64 kB / 0.553 GB, free: 9.09 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.157e-05/0.4101, allocations: 86.48 kB / 0.5531 GB, free: 9.004 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.705e-05/0.4101, allocations: 31.73 kB / 0.5531 GB, free: 8.977 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.909e-05/0.4102, allocations: 16.19 kB / 0.5531 GB, free: 8.961 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.4104, allocations: 329.8 kB / 0.5534 GB, free: 8.633 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.676e-05/0.4104, allocations: 59.34 kB / 0.5535 GB, free: 8.594 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.221e-05/0.4105, allocations: 66.55 kB / 0.5535 GB, free: 8.547 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.4107, allocations: 143.6 kB / 0.5537 GB, free: 8.449 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4107, allocations: 0 / 0.5537 GB, free: 8.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002106/0.4109, allocations: 179 kB / 0.5538 GB, free: 8.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.581e-05/0.4109, allocations: 45.72 kB / 0.5539 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4109, allocations: 0 / 0.5539 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.4109, allocations: 1.125 kB / 0.5539 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/0.4109, allocations: 0 / 0.5539 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.4109, allocations: 4.062 kB / 0.5539 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.034e-05/0.411, allocations: 11.17 kB / 0.5539 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.711e-05/0.411, allocations: 6.438 kB / 0.5539 GB, free: 8.266 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.0001307/0.4111, allocations: 159 kB / 0.5541 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.584e-05/0.4112, allocations: 4 kB / 0.5541 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.695e-05/0.4112, allocations: 10.72 kB / 0.5541 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.4112, allocations: 0 / 0.5541 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.4112, allocations: 1.25 kB / 0.5541 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.4112, allocations: 0 / 0.5541 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.4113, allocations: 118.4 kB / 0.5542 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.4113, allocations: 4 kB / 0.5542 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.4113, allocations: 0 / 0.5542 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.4113, allocations: 5.031 kB / 0.5542 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.4113, allocations: 6.266 kB / 0.5542 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.592e-06/0.4113, allocations: 1.156 kB / 0.5542 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4113, allocations: 0 / 0.5542 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003243/0.4117, allocations: 260.1 kB / 0.5545 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.672e-05/0.4117, allocations: 10.8 kB / 0.5545 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.4117, allocations: 1.156 kB / 0.5545 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.293e-05/0.4117, allocations: 6.5 kB / 0.5545 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.201e-05/0.4117, allocations: 1.188 kB / 0.5545 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.198e-06/0.4117, allocations: 7.781 kB / 0.5545 GB, free: 7.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.893e-05/0.4118, allocations: 106.6 kB / 0.5546 GB, free: 7.656 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4118, allocations: 0 / 0.5546 GB, free: 7.656 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001039/0.4129, allocations: 315.4 kB / 0.5549 GB, free: 7.605 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.001035/0.4139, allocations: 365.7 kB / 0.5552 GB, free: 7.422 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003993/0.4143, allocations: 253.1 kB / 0.5555 GB, free: 7.23 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4143, allocations: 4.062 kB / 0.5555 GB, free: 7.227 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001612/0.4145, allocations: 153.1 kB / 0.5556 GB, free: 7.059 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.4147, allocations: 14.69 kB / 0.5556 GB, free: 7.047 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006096/0.4153, allocations: 316 kB / 0.5559 GB, free: 6.699 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.154e-05/0.4154, allocations: 83.27 kB / 0.556 GB, free: 6.598 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.811e-05/0.4155, allocations: 7.438 kB / 0.556 GB, free: 6.59 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4155, allocations: 8 kB / 0.556 GB, free: 6.582 MB / 398.1 MB Notification: Performance of Templates: time 0.01122/0.4267, allocations: 5.734 MB / 0.5616 GB, free: 0.8398 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.845433239359409] Failed to read output from testmodel.py, exit status != 0: 0.4358640378341079 0.45093473 0.039936771 Calling exit ...