Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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.001776/0.001776, allocations: 103.6 kB / 21.18 MB, free: 0.6641 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.002294/0.002294, allocations: 223.9 kB / 24.48 MB, free: 3.961 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.47/1.47, allocations: 230.6 MB / 258.2 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.1876/0.1876, allocations: 38.57 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_matrixTrDat2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") [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.002164/0.002164, allocations: 71.89 kB / 493.7 MB, free: 4.188 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3392, allocations: 62.47 MB / 0.5432 GB, free: 412 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.003607/0.3429, allocations: 2.186 MB / 0.5453 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003336/0.3462, allocations: 1.896 MB / 0.5472 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.561e-05/0.3462, allocations: 0 / 0.5472 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001498/0.3464, allocations: 18.47 kB / 0.5472 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.906e-05/0.3465, allocations: 30.56 kB / 0.5472 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002827/0.3493, allocations: 0.9577 MB / 0.5481 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.3495, allocations: 72.31 kB / 0.5482 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.915e-05/0.3495, allocations: 10.66 kB / 0.5482 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.3497, allocations: 46.27 kB / 0.5483 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.303e-05/0.3498, allocations: 49.12 kB / 0.5483 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.3498, allocations: 9.156 kB / 0.5483 GB, free: 12.53 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003358/0.3531, allocations: 1.891 MB / 0.5502 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.329e-05/0.3532, allocations: 23.67 kB / 0.5502 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.182e-05/0.3533, allocations: 34.45 kB / 0.5502 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002057/0.3553, allocations: 1.357 MB / 0.5516 GB, free: 10.45 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.3553, allocations: 3.938 kB / 0.5516 GB, free: 10.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3553, allocations: 1.5 kB / 0.5516 GB, free: 10.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.3553, allocations: 4 kB / 0.5516 GB, free: 10.45 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007885/0.3561, allocations: 0.4893 MB / 0.552 GB, free: 10 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.3562, allocations: 14.23 kB / 0.5521 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.071e-05/0.3562, allocations: 13.19 kB / 0.5521 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.3564, allocations: 157.2 kB / 0.5522 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.3564, allocations: 1.094 kB / 0.5522 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.3564, allocations: 0.9375 kB / 0.5522 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/0.3567, allocations: 173.1 kB / 0.5524 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.3567, allocations: 0 / 0.5524 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.3567, allocations: 1.219 kB / 0.5524 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.3567, allocations: 4 kB / 0.5524 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001455/0.3569, allocations: 126.8 kB / 0.5525 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001974/0.3571, allocations: 132.9 kB / 0.5526 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.3573, allocations: 147.3 kB / 0.5528 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.3574, allocations: 135.4 kB / 0.5529 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.198e-06/0.3574, allocations: 1.094 kB / 0.5529 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.101e-05/0.3575, allocations: 35.88 kB / 0.5529 GB, free: 9.293 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.272e-06/0.3575, allocations: 0 / 0.5529 GB, free: 9.293 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0007118/0.3582, allocations: 484.3 kB / 0.5534 GB, free: 9.047 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.583e-05/0.3583, allocations: 95.09 kB / 0.5535 GB, free: 8.949 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.3584, allocations: 157.6 kB / 0.5536 GB, free: 8.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.3585, allocations: 31.17 kB / 0.5537 GB, free: 8.785 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.561e-05/0.3585, allocations: 100.5 kB / 0.5538 GB, free: 8.688 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.63e-05/0.3586, allocations: 80.59 kB / 0.5538 GB, free: 8.617 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.643e-05/0.3587, allocations: 28.89 kB / 0.5539 GB, free: 8.594 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.3588, allocations: 324.2 kB / 0.5542 GB, free: 8.273 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.359, allocations: 131.9 kB / 0.5543 GB, free: 8.207 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.3591, allocations: 137.5 kB / 0.5544 GB, free: 8.137 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003143/0.3594, allocations: 305.2 kB / 0.5547 GB, free: 7.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3594, allocations: 0 / 0.5547 GB, free: 7.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003749/0.3598, allocations: 333.8 kB / 0.5551 GB, free: 7.773 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.205e-05/0.3599, allocations: 69.72 kB / 0.5551 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3599, allocations: 0 / 0.5551 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.3599, allocations: 4 kB / 0.5551 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.3599, allocations: 0 / 0.5551 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.3599, allocations: 0 / 0.5551 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.169e-05/0.36, allocations: 11.89 kB / 0.5551 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.944e-05/0.36, allocations: 12 kB / 0.5551 GB, free: 7.672 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.0001796/0.3602, allocations: 195.4 kB / 0.5553 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.909e-05/0.3602, allocations: 15.91 kB / 0.5553 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.597e-05/0.3602, allocations: 17.27 kB / 0.5554 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3602, allocations: 7.938 kB / 0.5554 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3602, allocations: 0 / 0.5554 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.3602, allocations: 0 / 0.5554 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.3604, allocations: 137.1 kB / 0.5555 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3604, allocations: 0 / 0.5555 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.7e-07/0.3604, allocations: 7.938 kB / 0.5555 GB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.3604, allocations: 0 / 0.5555 GB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.3604, allocations: 7.984 kB / 0.5555 GB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3604, allocations: 0 / 0.5555 GB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3604, allocations: 0 / 0.5555 GB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006263/0.361, allocations: 0.5234 MB / 0.556 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.485e-05/0.361, allocations: 23.83 kB / 0.556 GB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/0.3611, allocations: 7.984 kB / 0.5561 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.014e-05/0.3611, allocations: 4 kB / 0.5561 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.006e-05/0.3611, allocations: 8 kB / 0.5561 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.3612, allocations: 4 kB / 0.5561 GB, free: 6.641 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.439e-05/0.3612, allocations: 119.2 kB / 0.5562 GB, free: 6.523 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3612, allocations: 0 / 0.5562 GB, free: 6.523 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001092/0.3623, allocations: 339.4 kB / 0.5565 GB, free: 6.191 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.0009517/0.3633, allocations: 370.2 kB / 0.5569 GB, free: 5.824 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006508/0.3639, allocations: 0.5096 MB / 0.5574 GB, free: 5.293 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3639, allocations: 0 / 0.5574 GB, free: 5.293 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003166/0.3643, allocations: 301 kB / 0.5576 GB, free: 4.98 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.3645, allocations: 21.98 kB / 0.5577 GB, free: 4.961 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008418/0.3653, allocations: 0.5676 MB / 0.5582 GB, free: 4.355 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.3654, allocations: 118 kB / 0.5583 GB, free: 4.223 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.632e-05/0.3654, allocations: 11.44 kB / 0.5583 GB, free: 4.211 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3654, allocations: 0 / 0.5583 GB, free: 4.211 MB / 398.1 MB Notification: Performance of Templates: time 0.01113/0.3766, allocations: 6.502 MB / 0.5647 GB, free: 13.7 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.85661560902372] Failed to read output from testmodel.py, exit status != 0: 0.385533737950027 0.40072378299999994 0.04206682499999994 Calling exit ...