Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.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.001529/0.001529, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001804/0.001804, allocations: 211.2 kB / 23.73 MB, free: 4.387 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.619/1.619, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2139/0.2139, allocations: 38.54 MB / 352.5 MB, free: 12.39 MB / 286.1 MB " [Timeout remaining time 179] 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.TransDatFromEqCirc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") translateModel(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") [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.002152/0.002152, allocations: 67.89 kB / 493 MB, free: 4.172 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.357, allocations: 62.46 MB / 0.5424 GB, free: 400 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.004765/0.3617, allocations: 2.237 MB / 0.5446 GB, free: 14.63 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002107/0.3639, allocations: 1.015 MB / 0.5456 GB, free: 13.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.54e-05/0.3639, allocations: 1.031 kB / 0.5456 GB, free: 13.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001625/0.3641, allocations: 14.03 kB / 0.5456 GB, free: 13.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001495/0.3642, allocations: 57 kB / 0.5457 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.3654, allocations: 337.6 kB / 0.546 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000207/0.3656, allocations: 111.5 kB / 0.5461 GB, free: 13.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.494e-05/0.3656, allocations: 6.359 kB / 0.5461 GB, free: 13.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.3658, allocations: 55.45 kB / 0.5462 GB, free: 13.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.3659, allocations: 80.69 kB / 0.5463 GB, free: 13.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.3659, allocations: 2.375 kB / 0.5463 GB, free: 13.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.367, allocations: 0.5556 MB / 0.5468 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.181e-05/0.367, allocations: 42.64 kB / 0.5468 GB, free: 13.08 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.958e-05/0.3671, allocations: 31.67 kB / 0.5469 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007547/0.3679, allocations: 0.5338 MB / 0.5474 GB, free: 12.76 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3679, allocations: 1.188 kB / 0.5474 GB, free: 12.76 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3679, allocations: 0 / 0.5474 GB, free: 12.76 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.3679, allocations: 0 / 0.5474 GB, free: 12.76 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006272/0.3685, allocations: 396.8 kB / 0.5478 GB, free: 12.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.3685, allocations: 13.8 kB / 0.5478 GB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.789e-05/0.3686, allocations: 8.891 kB / 0.5478 GB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.3688, allocations: 133.9 kB / 0.5479 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.3688, allocations: 1.562 kB / 0.5479 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.3688, allocations: 6.531 kB / 0.5479 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002963/0.3691, allocations: 165.3 kB / 0.5481 GB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.3692, allocations: 0 / 0.5481 GB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.3692, allocations: 5.094 kB / 0.5481 GB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3692, allocations: 0 / 0.5481 GB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001689/0.3693, allocations: 116.8 kB / 0.5482 GB, free: 12.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002061/0.3695, allocations: 124.3 kB / 0.5483 GB, free: 11.9 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.3697, allocations: 127.6 kB / 0.5484 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.3699, allocations: 121.4 kB / 0.5486 GB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.3699, allocations: 3.938 kB / 0.5486 GB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.183e-05/0.37, allocations: 36.69 kB / 0.5486 GB, free: 11.7 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 1.082e-06/0.37, allocations: 4 kB / 0.5486 GB, free: 11.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.0007397/0.3707, allocations: 422.5 kB / 0.549 GB, free: 11.45 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.899e-05/0.3708, allocations: 93.78 kB / 0.5491 GB, free: 11.36 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.3709, allocations: 136.6 kB / 0.5492 GB, free: 11.24 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.816e-05/0.371, allocations: 29.69 kB / 0.5492 GB, free: 11.2 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.634e-05/0.371, allocations: 92.09 kB / 0.5493 GB, free: 11.11 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.212e-05/0.3711, allocations: 63.61 kB / 0.5494 GB, free: 11.06 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.234e-05/0.3712, allocations: 28.77 kB / 0.5494 GB, free: 11.04 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.3714, allocations: 326.8 kB / 0.5497 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.3715, allocations: 112 kB / 0.5498 GB, free: 10.65 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.3716, allocations: 120.7 kB / 0.55 GB, free: 10.58 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003232/0.3719, allocations: 263.9 kB / 0.5502 GB, free: 10.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.372, allocations: 0 / 0.5502 GB, free: 10.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003847/0.3723, allocations: 302.7 kB / 0.5505 GB, free: 10.25 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.505e-05/0.3724, allocations: 60.17 kB / 0.5506 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3724, allocations: 0 / 0.5506 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.3724, allocations: 1.094 kB / 0.5506 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.312e-06/0.3724, allocations: 0 / 0.5506 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.3724, allocations: 1.125 kB / 0.5506 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.276e-05/0.3725, allocations: 12.33 kB / 0.5506 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.941e-05/0.3725, allocations: 5.688 kB / 0.5506 GB, free: 10.19 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.0001755/0.3727, allocations: 185.3 kB / 0.5508 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.875e-05/0.3727, allocations: 24.5 kB / 0.5508 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.672e-05/0.3728, allocations: 7.312 kB / 0.5508 GB, free: 10 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.3728, allocations: 1.031 kB / 0.5508 GB, free: 10 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3728, allocations: 0 / 0.5508 GB, free: 10 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.3728, allocations: 0 / 0.5508 GB, free: 10 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.3729, allocations: 128.4 kB / 0.5509 GB, free: 9.863 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3729, allocations: 0 / 0.5509 GB, free: 9.863 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-07/0.3729, allocations: 0 / 0.5509 GB, free: 9.863 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.3729, allocations: 4.938 kB / 0.5509 GB, free: 9.859 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.3729, allocations: 4.469 kB / 0.5509 GB, free: 9.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3729, allocations: 8.969 kB / 0.5509 GB, free: 9.852 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3729, allocations: 0 / 0.5509 GB, free: 9.852 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006116/0.3735, allocations: 456.7 kB / 0.5514 GB, free: 9.582 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.664e-05/0.3736, allocations: 19.34 kB / 0.5514 GB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/0.3736, allocations: 4.438 kB / 0.5514 GB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.81e-05/0.3736, allocations: 4 kB / 0.5514 GB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.925e-05/0.3737, allocations: 5.734 kB / 0.5514 GB, free: 9.562 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.3737, allocations: 10.25 kB / 0.5514 GB, free: 9.559 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.708e-05/0.3738, allocations: 105.9 kB / 0.5515 GB, free: 9.473 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3738, allocations: 3.938 kB / 0.5515 GB, free: 9.469 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000517/0.3743, allocations: 134.6 kB / 0.5516 GB, free: 9.449 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.0004757/0.3747, allocations: 190 kB / 0.5518 GB, free: 9.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000547/0.3753, allocations: 438.9 kB / 0.5522 GB, free: 9.062 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3753, allocations: 0 / 0.5522 GB, free: 9.062 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002676/0.3756, allocations: 255.7 kB / 0.5525 GB, free: 8.902 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.3758, allocations: 19.67 kB / 0.5525 GB, free: 8.895 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007195/0.3765, allocations: 471.3 kB / 0.5529 GB, free: 8.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000103/0.3766, allocations: 104.3 kB / 0.553 GB, free: 8.5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.808e-05/0.3766, allocations: 1.125 kB / 0.553 GB, free: 8.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.025e-05/0.3767, allocations: 8.625 kB / 0.5531 GB, free: 8.492 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3767, allocations: 1.25 kB / 0.5531 GB, free: 8.492 MB / 398.1 MB [CodegenCFunctions.tpl:5658:13-5658:13:writable] Error: Template error: This should have been handled in indexed assign and should not have gotten here. eigenvalues[:,2]. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.26401206292212] Failed to read output from testmodel.py, exit status != 0: 0.3934097569435835 0.408287271 0.037226153000000005 Calling exit ...