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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 225.6 MB / 250.8 MB, free: 13.34 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.1858/0.1858, allocations: 38.52 MB / 344.5 MB, free: 2.512 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.003145/0.003145, allocations: 67.89 kB / 482.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3615, allocations: 61.24 MB / 0.5306 GB, free: 5.484 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.003874/0.3654, allocations: 2.225 MB / 0.5327 GB, free: 3.902 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001657/0.367, allocations: 1.08 MB / 0.5338 GB, free: 3.184 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.853e-05/0.3671, allocations: 0 / 0.5338 GB, free: 3.184 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001352/0.3672, allocations: 17.38 kB / 0.5338 GB, free: 3.176 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.3673, allocations: 53.88 kB / 0.5339 GB, free: 3.148 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008454/0.3682, allocations: 281.7 kB / 0.5341 GB, free: 3.055 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.3684, allocations: 122.8 kB / 0.5343 GB, free: 3.008 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.707e-05/0.3684, allocations: 11.48 kB / 0.5343 GB, free: 3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.251e-05/0.3685, allocations: 48.3 kB / 0.5343 GB, free: 2.984 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.3686, allocations: 74.86 kB / 0.5344 GB, free: 2.961 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.3686, allocations: 1.531 kB / 0.5344 GB, free: 2.961 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006791/0.3693, allocations: 483 kB / 0.5348 GB, free: 2.762 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.584e-05/0.3694, allocations: 38.55 kB / 0.5349 GB, free: 2.742 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.765e-05/0.3694, allocations: 42.55 kB / 0.5349 GB, free: 2.715 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005527/0.37, allocations: 0.5107 MB / 0.5354 GB, free: 2.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.37, allocations: 5.375 kB / 0.5354 GB, free: 2.426 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.37, allocations: 0 / 0.5354 GB, free: 2.426 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.084e-06/0.37, allocations: 4 kB / 0.5354 GB, free: 2.422 MB / 382.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.0004815/0.3705, allocations: 464.3 kB / 0.5359 GB, free: 1.961 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.3705, allocations: 13.48 kB / 0.5359 GB, free: 1.957 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.452e-05/0.3705, allocations: 14.34 kB / 0.5359 GB, free: 1.949 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.3707, allocations: 197.7 kB / 0.5361 GB, free: 1.727 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.874e-06/0.3707, allocations: 1.75 kB / 0.5361 GB, free: 1.727 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.3707, allocations: 6.875 kB / 0.5361 GB, free: 1.723 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.3709, allocations: 93.14 kB / 0.5362 GB, free: 1.668 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.3709, allocations: 4 kB / 0.5362 GB, free: 1.664 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.3709, allocations: 5.375 kB / 0.5362 GB, free: 1.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3709, allocations: 0 / 0.5362 GB, free: 1.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.001e-05/0.371, allocations: 61.05 kB / 0.5362 GB, free: 1.637 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001351/0.3711, allocations: 181.9 kB / 0.5364 GB, free: 1.422 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.857e-05/0.3712, allocations: 73.22 kB / 0.5365 GB, free: 1.379 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.814e-05/0.3713, allocations: 64.69 kB / 0.5366 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.3713, allocations: 1.375 kB / 0.5366 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.311e-05/0.3713, allocations: 34.56 kB / 0.5366 GB, free: 1.305 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.132e-06/0.3713, allocations: 1.375 kB / 0.5366 GB, free: 1.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.000413/0.3717, allocations: 300.2 kB / 0.5369 GB, free: 1.156 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.3718, allocations: 92.62 kB / 0.537 GB, free: 1.059 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.02e-05/0.3719, allocations: 136.2 kB / 0.5371 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.387e-06/0.3719, allocations: 27.17 kB / 0.5371 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.743e-05/0.3719, allocations: 91.62 kB / 0.5372 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.958e-05/0.3719, allocations: 63.58 kB / 0.5373 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.08e-05/0.372, allocations: 32.25 kB / 0.5373 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.681e-05/0.372, allocations: 322.5 kB / 0.5376 GB, free: 428 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.923e-05/0.3721, allocations: 60.64 kB / 0.5377 GB, free: 404 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.434e-05/0.3722, allocations: 59.33 kB / 0.5377 GB, free: 384 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000188/0.3724, allocations: 228.8 kB / 0.5379 GB, free: 252 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3724, allocations: 0 / 0.5379 GB, free: 252 kB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002201/0.3726, allocations: 228.4 kB / 0.5382 GB, free: 124 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.6e-05/0.3726, allocations: 54.83 kB / 0.5382 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.3726, allocations: 5 kB / 0.5382 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.3726, allocations: 8.047 kB / 0.5382 GB, free: 68 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.473e-06/0.3726, allocations: 1.406 kB / 0.5382 GB, free: 68 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.3726, allocations: 0 / 0.5382 GB, free: 68 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.356e-05/0.3727, allocations: 12.36 kB / 0.5382 GB, free: 60 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/0.3727, allocations: 6.188 kB / 0.5382 GB, free: 60 kB / 382.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.0001584/0.3729, allocations: 180.1 kB / 0.5384 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.3729, allocations: 16.95 kB / 0.5384 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.107e-05/0.3729, allocations: 14.55 kB / 0.5384 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.3729, allocations: 1.594 kB / 0.5384 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3729, allocations: 4 kB / 0.5384 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3729, allocations: 0 / 0.5384 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.3731, allocations: 191.1 kB / 0.5386 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3731, allocations: 1.25 kB / 0.5386 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.3731, allocations: 0 / 0.5386 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.3731, allocations: 3.984 kB / 0.5386 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.3731, allocations: 4.531 kB / 0.5386 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.3731, allocations: 1.062 kB / 0.5386 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3731, allocations: 0 / 0.5386 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004687/0.3736, allocations: 396 kB / 0.539 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.611e-05/0.3737, allocations: 92.83 kB / 0.5391 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.3737, allocations: 3.812 kB / 0.5391 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.172e-05/0.3737, allocations: 11.23 kB / 0.5391 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.897e-05/0.3737, allocations: 7.281 kB / 0.5391 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.3738, allocations: 5.219 kB / 0.5391 GB, free: 15.3 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.71e-05/0.3738, allocations: 99.42 kB / 0.5392 GB, free: 15.22 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3738, allocations: 0 / 0.5392 GB, free: 15.22 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004219/0.3743, allocations: 134.9 kB / 0.5394 GB, free: 15.2 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.0004354/0.3747, allocations: 194.5 kB / 0.5395 GB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004549/0.3752, allocations: 317.6 kB / 0.5398 GB, free: 14.9 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3752, allocations: 1.438 kB / 0.5398 GB, free: 14.9 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002208/0.3754, allocations: 206.5 kB / 0.54 GB, free: 14.78 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.3756, allocations: 25.2 kB / 0.5401 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006354/0.3762, allocations: 401.1 kB / 0.5404 GB, free: 14.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/0.3766, allocations: 0.7145 MB / 0.5411 GB, free: 13.81 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.725e-05/0.3766, allocations: 6.688 kB / 0.5412 GB, free: 13.8 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.526e-05/0.3766, allocations: 7.438 kB / 0.5412 GB, free: 13.8 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3766, allocations: 1.406 kB / 0.5412 GB, free: 13.8 MB / 398.1 MB [CodegenCFunctions.tpl:5647:13-5647: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.0279097771272063]