Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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.001357/0.001357, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001601/0.001601, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.504/1.504, allocations: 230.6 MB / 258.3 MB, free: 7.984 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.2002/0.2002, allocations: 38.53 MB / 353.2 MB, free: 12.51 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_matrixTrDat3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") [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.002491/0.002491, allocations: 63.91 kB / 493.8 MB, free: 4.352 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.364, allocations: 62.47 MB / 0.5432 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.003595/0.3676, allocations: 2.22 MB / 0.5454 GB, free: 14.83 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003453/0.371, allocations: 2.095 MB / 0.5475 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.596e-05/0.3711, allocations: 0 / 0.5475 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000134/0.3712, allocations: 10.7 kB / 0.5475 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.695e-05/0.3713, allocations: 38.77 kB / 0.5475 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002836/0.3742, allocations: 0.9819 MB / 0.5485 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.3744, allocations: 79.16 kB / 0.5485 GB, free: 12.51 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.509e-05/0.3744, allocations: 7.422 kB / 0.5485 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.3746, allocations: 38.52 kB / 0.5486 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.3747, allocations: 53.44 kB / 0.5486 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.3747, allocations: 6.375 kB / 0.5486 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003794/0.3785, allocations: 2.239 MB / 0.5508 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.574e-05/0.3786, allocations: 44.16 kB / 0.5509 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.815e-05/0.3786, allocations: 51.34 kB / 0.5509 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002326/0.381, allocations: 1.427 MB / 0.5523 GB, free: 9.984 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.381, allocations: 0 / 0.5523 GB, free: 9.984 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.381, allocations: 0 / 0.5523 GB, free: 9.984 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.381, allocations: 4 kB / 0.5523 GB, free: 9.98 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.0009721/0.3819, allocations: 0.5424 MB / 0.5528 GB, free: 9.504 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.382, allocations: 16.84 kB / 0.5529 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.979e-05/0.3821, allocations: 18.61 kB / 0.5529 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.3823, allocations: 162 kB / 0.553 GB, free: 9.316 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.3823, allocations: 1.125 kB / 0.553 GB, free: 9.316 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.3823, allocations: 1.25 kB / 0.553 GB, free: 9.316 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.3825, allocations: 131.2 kB / 0.5532 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.3825, allocations: 3.938 kB / 0.5532 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.3826, allocations: 8 kB / 0.5532 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.3826, allocations: 1.062 kB / 0.5532 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.3827, allocations: 96.12 kB / 0.5533 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002052/0.3829, allocations: 185 kB / 0.5534 GB, free: 9.008 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.3831, allocations: 110.3 kB / 0.5535 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.3832, allocations: 101.3 kB / 0.5536 GB, free: 8.914 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.3832, allocations: 3.984 kB / 0.5536 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.3832, allocations: 35.62 kB / 0.5537 GB, free: 8.867 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 1.102e-06/0.3832, allocations: 1.281 kB / 0.5537 GB, free: 8.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.0007793/0.384, allocations: 0.4928 MB / 0.5542 GB, free: 8.668 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.41e-05/0.3841, allocations: 103.3 kB / 0.5543 GB, free: 8.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.3843, allocations: 168.6 kB / 0.5544 GB, free: 8.438 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.3843, allocations: 26.92 kB / 0.5544 GB, free: 8.406 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.806e-05/0.3844, allocations: 105.3 kB / 0.5545 GB, free: 8.301 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/0.3845, allocations: 142.8 kB / 0.5547 GB, free: 8.176 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.035e-05/0.3846, allocations: 36.95 kB / 0.5547 GB, free: 8.148 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.3847, allocations: 342 kB / 0.555 GB, free: 7.812 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.3849, allocations: 95.7 kB / 0.5551 GB, free: 7.781 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.385, allocations: 99.98 kB / 0.5552 GB, free: 7.746 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000421/0.3854, allocations: 383.8 kB / 0.5556 GB, free: 7.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3854, allocations: 1.156 kB / 0.5556 GB, free: 7.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004169/0.3858, allocations: 338.6 kB / 0.5559 GB, free: 7.234 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.975e-05/0.3859, allocations: 88.75 kB / 0.556 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.3859, allocations: 3.984 kB / 0.556 GB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.386, allocations: 4.062 kB / 0.556 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.172e-06/0.386, allocations: 0 / 0.556 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.386, allocations: 0 / 0.556 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.005e-05/0.386, allocations: 15.89 kB / 0.556 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.193e-05/0.3861, allocations: 12 kB / 0.556 GB, free: 7.109 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.0002249/0.3863, allocations: 231.4 kB / 0.5563 GB, free: 6.867 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.328e-05/0.3863, allocations: 27.86 kB / 0.5563 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.05e-05/0.3864, allocations: 18.58 kB / 0.5563 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3864, allocations: 0 / 0.5563 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.3864, allocations: 8 kB / 0.5563 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3864, allocations: 3.984 kB / 0.5563 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.3866, allocations: 216.4 kB / 0.5565 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3866, allocations: 0 / 0.5565 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.966e-06/0.3866, allocations: 4 kB / 0.5565 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3866, allocations: 3.938 kB / 0.5565 GB, free: 6.551 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.3866, allocations: 4 kB / 0.5565 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3866, allocations: 4 kB / 0.5565 GB, free: 6.543 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3866, allocations: 0 / 0.5565 GB, free: 6.543 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.3877, allocations: 0.9238 MB / 0.5574 GB, free: 5.594 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.459e-05/0.3877, allocations: 23.8 kB / 0.5575 GB, free: 5.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.484e-05/0.3878, allocations: 4 kB / 0.5575 GB, free: 5.566 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.452e-05/0.3878, allocations: 11.94 kB / 0.5575 GB, free: 5.555 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.3878, allocations: 8 kB / 0.5575 GB, free: 5.547 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.3879, allocations: 8 kB / 0.5575 GB, free: 5.539 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001021/0.388, allocations: 132.2 kB / 0.5576 GB, free: 5.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.388, allocations: 0 / 0.5576 GB, free: 5.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001259/0.3892, allocations: 359.3 kB / 0.558 GB, free: 5.059 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.0009889/0.3902, allocations: 378.3 kB / 0.5583 GB, free: 4.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001008/0.3912, allocations: 0.8347 MB / 0.5591 GB, free: 3.832 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3912, allocations: 0 / 0.5591 GB, free: 3.832 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006349/0.3919, allocations: 0.6006 MB / 0.5597 GB, free: 3.219 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.3921, allocations: 16.12 kB / 0.5597 GB, free: 3.203 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.3931, allocations: 0.7032 MB / 0.5604 GB, free: 2.469 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004032/0.3935, allocations: 0.7555 MB / 0.5612 GB, free: 1.688 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.782e-05/0.3936, allocations: 11.44 kB / 0.5612 GB, free: 1.676 MB / 398.1 MB Notification: Performance of SimCode: time 6.72e-07/0.3936, allocations: 0 / 0.5612 GB, free: 1.676 MB / 398.1 MB Notification: Performance of Templates: time 0.01252/0.4061, allocations: 7.076 MB / 0.5681 GB, free: 10.59 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.590848126914352] Failed to read output from testmodel.py, exit status != 0: 0.4168276400305331 0.43169971500000004 0.047452153000000004 Calling exit ...