Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001494/0.001494, 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.001369/0.001369, 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.433/1.433, allocations: 225.6 MB / 250.8 MB, free: 13.33 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1819/0.1819, allocations: 38.54 MB / 344.5 MB, free: 2.566 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-master/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="mat",numberOfIntervals=2500,variableFilter="Time|tc_d.1.|tc_d.2.|tc_q.1.|tc_q.2.|to_d.1.|to_d.2.|to_q.1.|to_q.2.|xtr_d.1.|xtr_d.2.|xtr_q.1.|xtr_q.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") translateModel(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|tc_d.1.|tc_d.2.|tc_q.1.|tc_q.2.|to_d.1.|to_d.2.|to_q.1.|to_q.2.|xtr_d.1.|xtr_d.2.|xtr_q.1.|xtr_q.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 71.88 kB / 482.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3505, allocations: 61.24 MB / 0.5306 GB, free: 5.492 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.003297/0.3538, allocations: 2.227 MB / 0.5328 GB, free: 3.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.3554, allocations: 1.075 MB / 0.5338 GB, free: 3.195 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.787e-05/0.3554, allocations: 1.438 kB / 0.5338 GB, free: 3.195 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001498/0.3556, allocations: 14.28 kB / 0.5338 GB, free: 3.191 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001191/0.3557, allocations: 61.55 kB / 0.5339 GB, free: 3.156 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000862/0.3565, allocations: 279.3 kB / 0.5341 GB, free: 3.062 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.3567, allocations: 120 kB / 0.5343 GB, free: 3.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.128e-05/0.3567, allocations: 11.16 kB / 0.5343 GB, free: 3.012 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.893e-05/0.3568, allocations: 49.12 kB / 0.5343 GB, free: 2.996 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.357, allocations: 73.61 kB / 0.5344 GB, free: 2.973 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.357, allocations: 2.75 kB / 0.5344 GB, free: 2.973 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006894/0.3577, allocations: 485.4 kB / 0.5349 GB, free: 2.762 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.269e-05/0.3577, allocations: 34.06 kB / 0.5349 GB, free: 2.746 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.743e-05/0.3578, allocations: 47.03 kB / 0.5349 GB, free: 2.715 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005126/0.3583, allocations: 0.51 MB / 0.5354 GB, free: 2.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3583, allocations: 0 / 0.5354 GB, free: 2.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3583, allocations: 1.375 kB / 0.5354 GB, free: 2.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.3583, allocations: 4 kB / 0.5354 GB, free: 2.426 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.0004271/0.3587, allocations: 472.3 kB / 0.5359 GB, free: 1.957 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.3588, allocations: 13.48 kB / 0.5359 GB, free: 1.953 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.201e-05/0.3588, allocations: 18.28 kB / 0.5359 GB, free: 1.941 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.3589, allocations: 181.9 kB / 0.5361 GB, free: 1.734 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.359, allocations: 9.688 kB / 0.5361 GB, free: 1.727 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.359, allocations: 5.5 kB / 0.5361 GB, free: 1.723 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.3591, allocations: 93.14 kB / 0.5362 GB, free: 1.668 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.3591, allocations: 5.375 kB / 0.5362 GB, free: 1.664 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.3592, allocations: 0 / 0.5362 GB, free: 1.664 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3592, allocations: 1.375 kB / 0.5362 GB, free: 1.664 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.401e-05/0.3592, allocations: 65.03 kB / 0.5363 GB, free: 1.637 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001112/0.3593, allocations: 174 kB / 0.5364 GB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.119e-05/0.3594, allocations: 75.78 kB / 0.5365 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.766e-05/0.3595, allocations: 70.05 kB / 0.5366 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.3595, allocations: 0 / 0.5366 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.378e-05/0.3595, allocations: 35.94 kB / 0.5366 GB, free: 1.305 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 7.61e-07/0.3595, allocations: 0 / 0.5366 GB, free: 1.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004247/0.36, allocations: 293.8 kB / 0.5369 GB, free: 1.164 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.36, allocations: 92.19 kB / 0.537 GB, free: 1.066 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.112e-05/0.3601, allocations: 136.6 kB / 0.5371 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.3601, allocations: 26.52 kB / 0.5371 GB, free: 0.918 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.599e-05/0.3601, allocations: 95.86 kB / 0.5372 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.726e-05/0.3602, allocations: 63.08 kB / 0.5373 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-05/0.3602, allocations: 36.2 kB / 0.5373 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.415e-05/0.3602, allocations: 326.6 kB / 0.5376 GB, free: 424 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.155e-05/0.3603, allocations: 56.97 kB / 0.5377 GB, free: 404 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.244e-05/0.3604, allocations: 59.89 kB / 0.5377 GB, free: 384 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/0.3605, allocations: 227.9 kB / 0.5379 GB, free: 252 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3606, allocations: 0 / 0.5379 GB, free: 252 kB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002102/0.3608, allocations: 228.1 kB / 0.5382 GB, free: 124 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.446e-05/0.3608, allocations: 60.27 kB / 0.5382 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3608, allocations: 0 / 0.5382 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.3608, allocations: 4.062 kB / 0.5382 GB, free: 72 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.543e-06/0.3608, allocations: 1.844 kB / 0.5382 GB, free: 72 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.3608, allocations: 0 / 0.5382 GB, free: 72 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.046e-05/0.3609, allocations: 12.52 kB / 0.5382 GB, free: 64 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.353e-05/0.3609, allocations: 13.31 kB / 0.5383 GB, free: 56 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.000152/0.3611, allocations: 179.5 kB / 0.5384 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.438e-05/0.3611, allocations: 16.78 kB / 0.5384 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.797e-05/0.3611, allocations: 12.28 kB / 0.5385 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.3611, allocations: 0 / 0.5385 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.3611, allocations: 5.125 kB / 0.5385 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.3611, allocations: 0 / 0.5385 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.3613, allocations: 198.9 kB / 0.5386 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3613, allocations: 1.344 kB / 0.5386 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.41e-07/0.3613, allocations: 0 / 0.5386 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.3613, allocations: 0 / 0.5386 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.3613, allocations: 5.031 kB / 0.5387 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.3613, allocations: 0 / 0.5387 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3613, allocations: 1.406 kB / 0.5387 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004829/0.3618, allocations: 390.9 kB / 0.539 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.433e-05/0.3618, allocations: 92.67 kB / 0.5391 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.3618, allocations: 8.062 kB / 0.5391 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.623e-05/0.3619, allocations: 4.406 kB / 0.5391 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.768e-05/0.3619, allocations: 9.5 kB / 0.5391 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.3619, allocations: 5.938 kB / 0.5391 GB, free: 15.3 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.537e-05/0.362, allocations: 103.1 kB / 0.5392 GB, free: 15.21 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.362, allocations: 0 / 0.5392 GB, free: 15.21 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004252/0.3624, allocations: 131.2 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.0004297/0.3629, allocations: 195.1 kB / 0.5396 GB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004436/0.3633, allocations: 317.6 kB / 0.5399 GB, free: 14.9 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3633, allocations: 0.9375 kB / 0.5399 GB, free: 14.9 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002138/0.3635, allocations: 207.4 kB / 0.5401 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.0002171/0.3637, allocations: 20.3 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.0006077/0.3643, allocations: 405.4 kB / 0.5405 GB, free: 14.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.3647, allocations: 0.719 MB / 0.5412 GB, free: 13.8 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.576e-05/0.3647, allocations: 1.125 kB / 0.5412 GB, free: 13.8 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.389e-05/0.3647, allocations: 8.75 kB / 0.5412 GB, free: 13.8 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3647, allocations: 0 / 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: 2.9984016185626388]