Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.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.001816/0.001816, 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.002308/0.002308, 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.476/1.476, allocations: 230.6 MB / 258.3 MB, free: 7.969 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.1975/0.1975, allocations: 38.52 MB / 353.2 MB, free: 12.53 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.EqCircFromTransDat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") translateModel(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") [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.00207/0.00207, allocations: 67.89 kB / 493.8 MB, free: 4.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3514, allocations: 62.46 MB / 0.5432 GB, free: 0.582 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.004524/0.3559, allocations: 2.257 MB / 0.5454 GB, free: 14.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003921/0.3598, allocations: 2.11 MB / 0.5475 GB, free: 13.17 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.237e-05/0.3599, allocations: 5.156 kB / 0.5475 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001551/0.3601, allocations: 13.34 kB / 0.5475 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001385/0.3602, allocations: 37.42 kB / 0.5476 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003199/0.3634, allocations: 0.9749 MB / 0.5485 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002299/0.3637, allocations: 98.36 kB / 0.5486 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.362e-05/0.3637, allocations: 7.078 kB / 0.5486 GB, free: 12.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/0.3639, allocations: 54.92 kB / 0.5487 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.364, allocations: 61.83 kB / 0.5487 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.364, allocations: 6.5 kB / 0.5487 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003957/0.368, allocations: 2.175 MB / 0.5508 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.965e-05/0.3681, allocations: 32.08 kB / 0.5509 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.223e-05/0.3681, allocations: 40.91 kB / 0.5509 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002699/0.3708, allocations: 1.367 MB / 0.5523 GB, free: 10.01 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3708, allocations: 0 / 0.5523 GB, free: 10.01 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3708, allocations: 0 / 0.5523 GB, free: 10.01 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.136e-06/0.3709, allocations: 0 / 0.5523 GB, free: 10.01 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001197/0.3721, allocations: 490.7 kB / 0.5527 GB, free: 9.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.3721, allocations: 12.55 kB / 0.5527 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.102e-05/0.3722, allocations: 10.58 kB / 0.5527 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.3725, allocations: 141.5 kB / 0.5529 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.3725, allocations: 9.188 kB / 0.5529 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.3725, allocations: 1.188 kB / 0.5529 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.3727, allocations: 84.75 kB / 0.553 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.3727, allocations: 0 / 0.553 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.3727, allocations: 0 / 0.553 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.3727, allocations: 0.9062 kB / 0.553 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.675e-05/0.3728, allocations: 38.72 kB / 0.553 GB, free: 9.332 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002117/0.373, allocations: 146.6 kB / 0.5531 GB, free: 9.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.3731, allocations: 60.73 kB / 0.5532 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.096e-05/0.3732, allocations: 48.45 kB / 0.5533 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.686e-06/0.3732, allocations: 0 / 0.5533 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.3732, allocations: 31.56 kB / 0.5533 GB, free: 9.055 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 8.72e-07/0.3732, allocations: 3.938 kB / 0.5533 GB, free: 9.051 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004434/0.3737, allocations: 221 kB / 0.5535 GB, free: 8.938 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.008e-05/0.3738, allocations: 89.5 kB / 0.5536 GB, free: 8.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.3739, allocations: 152.7 kB / 0.5537 GB, free: 8.715 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.374, allocations: 31.2 kB / 0.5538 GB, free: 8.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.745e-05/0.374, allocations: 96.44 kB / 0.5538 GB, free: 8.586 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.865e-05/0.3741, allocations: 52.31 kB / 0.5539 GB, free: 8.539 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-05/0.3742, allocations: 22.55 kB / 0.5539 GB, free: 8.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.3744, allocations: 327.5 kB / 0.5542 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.37e-05/0.3744, allocations: 37.53 kB / 0.5543 GB, free: 8.184 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.715e-05/0.3745, allocations: 35.95 kB / 0.5543 GB, free: 8.176 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002174/0.3747, allocations: 188.1 kB / 0.5545 GB, free: 8.059 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/0.3747, allocations: 3.938 kB / 0.5545 GB, free: 8.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003099/0.375, allocations: 175.2 kB / 0.5547 GB, free: 7.953 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.027e-05/0.3751, allocations: 51.5 kB / 0.5547 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.3751, allocations: 0 / 0.5547 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.3751, allocations: 7.922 kB / 0.5547 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.3751, allocations: 1.281 kB / 0.5547 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.3751, allocations: 0 / 0.5547 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.708e-05/0.3752, allocations: 7.109 kB / 0.5547 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.611e-05/0.3752, allocations: 5.094 kB / 0.5547 GB, free: 7.902 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.0001697/0.3754, allocations: 173.4 kB / 0.5549 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.036e-05/0.3754, allocations: 10.77 kB / 0.5549 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.258e-05/0.3755, allocations: 16.12 kB / 0.5549 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3755, allocations: 1.156 kB / 0.5549 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.3755, allocations: 0 / 0.5549 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.3755, allocations: 0 / 0.5549 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.3757, allocations: 170.3 kB / 0.5551 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.3757, allocations: 4 kB / 0.5551 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.349e-06/0.3757, allocations: 3.938 kB / 0.5551 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3757, allocations: 1.312 kB / 0.5551 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.3757, allocations: 7.562 kB / 0.5551 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3757, allocations: 0 / 0.5551 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.3757, allocations: 5.234 kB / 0.5551 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000428/0.3761, allocations: 294.4 kB / 0.5554 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.956e-05/0.3761, allocations: 8.391 kB / 0.5554 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/0.3762, allocations: 2.312 kB / 0.5554 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.343e-05/0.3762, allocations: 2.25 kB / 0.5554 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.3762, allocations: 10.42 kB / 0.5554 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.3763, allocations: 9.219 kB / 0.5554 GB, free: 7.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001099/0.3764, allocations: 116.6 kB / 0.5555 GB, free: 7.227 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3764, allocations: 0 / 0.5555 GB, free: 7.227 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00138/0.3778, allocations: 328.7 kB / 0.5558 GB, free: 7.172 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.001472/0.3792, allocations: 371 kB / 0.5562 GB, free: 6.844 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003763/0.3796, allocations: 251.2 kB / 0.5564 GB, free: 6.586 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3796, allocations: 0 / 0.5564 GB, free: 6.586 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002657/0.3799, allocations: 155.3 kB / 0.5566 GB, free: 6.422 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.3802, allocations: 26.73 kB / 0.5566 GB, free: 6.398 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006785/0.3809, allocations: 375.4 kB / 0.557 GB, free: 6 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004034/0.3813, allocations: 0.7159 MB / 0.5577 GB, free: 5.258 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.503e-05/0.3813, allocations: 11.44 kB / 0.5577 GB, free: 5.246 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3813, allocations: 3.938 kB / 0.5577 GB, free: 5.242 MB / 398.1 MB Notification: Performance of Templates: time 0.01274/0.3941, allocations: 6.125 MB / 0.5637 GB, free: 15.11 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.373415068956092] Failed to read output from testmodel.py, exit status != 0: 0.404022203059867 0.42088591099999995 0.046499436000000005 Calling exit ...