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.001479/0.001479, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 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.001655/0.001655, allocations: 161.6 kB / 24.27 MB, free: 172 kB / 18.57 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.473/1.473, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 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.2922/0.2922, allocations: 29.42 MB / 290.5 MB, free: 2.422 MB / 266.7 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.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 2.334e-06/2.334e-06, allocations: 0 / 368.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.706e-05/3.939e-05, allocations: 6.312 kB / 368.9 MB, free: 11.28 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.006586/0.006625, allocations: 2.253 MB / 371.1 MB, free: 9.012 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003544/0.01017, allocations: 1.018 MB / 372.2 MB, free: 7.992 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.904e-05/0.01026, allocations: 0 / 372.2 MB, free: 7.992 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002421/0.0105, allocations: 23.84 kB / 372.2 MB, free: 7.969 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001749/0.01068, allocations: 55.66 kB / 372.2 MB, free: 7.914 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.01192, allocations: 342.8 kB / 372.6 MB, free: 7.578 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.01211, allocations: 119.5 kB / 372.7 MB, free: 7.461 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.861e-05/0.01215, allocations: 4 kB / 372.7 MB, free: 7.457 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000179/0.01233, allocations: 59.81 kB / 372.8 MB, free: 7.398 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.01247, allocations: 71.77 kB / 372.8 MB, free: 7.328 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.01248, allocations: 0 / 372.8 MB, free: 7.328 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009674/0.01345, allocations: 0.5649 MB / 373.4 MB, free: 6.762 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.836e-05/0.01352, allocations: 43.91 kB / 373.4 MB, free: 6.719 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.836e-05/0.01358, allocations: 27.92 kB / 373.5 MB, free: 6.691 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008144/0.01439, allocations: 0.5609 MB / 374 MB, free: 6.129 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.01439, allocations: 0 / 374 MB, free: 6.129 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.01439, allocations: 3.938 kB / 374 MB, free: 6.125 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.0144, allocations: 0 / 374 MB, free: 6.125 MB / 346.7 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.0005517/0.01495, allocations: 391.1 kB / 374.4 MB, free: 5.707 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.01499, allocations: 15.98 kB / 374.4 MB, free: 5.691 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.081e-05/0.01505, allocations: 12.84 kB / 374.4 MB, free: 5.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.01525, allocations: 129.7 kB / 374.6 MB, free: 5.527 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.01526, allocations: 4.375 kB / 374.6 MB, free: 5.523 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.01527, allocations: 4.375 kB / 374.6 MB, free: 5.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.01552, allocations: 158.9 kB / 374.7 MB, free: 5.355 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.01553, allocations: 3.938 kB / 374.7 MB, free: 5.352 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.01554, allocations: 4 kB / 374.7 MB, free: 5.348 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.01555, allocations: 0 / 374.7 MB, free: 5.348 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.01569, allocations: 105.7 kB / 374.8 MB, free: 5.238 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000163/0.01586, allocations: 125.2 kB / 375 MB, free: 5.086 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.01603, allocations: 128.2 kB / 375.1 MB, free: 4.945 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.01619, allocations: 118.9 kB / 375.2 MB, free: 4.82 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.666e-06/0.0162, allocations: 0 / 375.2 MB, free: 4.82 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/0.01624, allocations: 38.5 kB / 375.2 MB, free: 4.773 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 7.11e-07/0.01624, allocations: 0 / 375.2 MB, free: 4.773 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006691/0.01691, allocations: 422.4 kB / 375.7 MB, free: 4.336 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.123e-05/0.01699, allocations: 97.09 kB / 375.7 MB, free: 4.223 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.01712, allocations: 132.6 kB / 375.9 MB, free: 4.086 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.01715, allocations: 29.7 kB / 375.9 MB, free: 4.051 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.753e-05/0.01722, allocations: 96.45 kB / 376 MB, free: 3.953 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.935e-05/0.0173, allocations: 67.42 kB / 376.1 MB, free: 3.887 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.022e-05/0.01735, allocations: 21.72 kB / 376.1 MB, free: 3.859 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.01753, allocations: 322.8 kB / 376.4 MB, free: 3.535 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.01768, allocations: 117.7 kB / 376.5 MB, free: 3.414 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.01782, allocations: 117.6 kB / 376.6 MB, free: 3.293 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000309/0.01813, allocations: 253.1 kB / 376.9 MB, free: 3.031 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.01813, allocations: 0 / 376.9 MB, free: 3.031 MB / 346.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003953/0.01853, allocations: 291.8 kB / 377.2 MB, free: 2.73 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.97e-05/0.0186, allocations: 53.67 kB / 377.2 MB, free: 2.672 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.01861, allocations: 7.938 kB / 377.2 MB, free: 2.664 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.01862, allocations: 0 / 377.2 MB, free: 2.664 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-07/0.01862, allocations: 0 / 377.2 MB, free: 2.664 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.01863, allocations: 0 / 377.2 MB, free: 2.664 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.438e-05/0.01869, allocations: 15.88 kB / 377.2 MB, free: 2.648 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.01872, allocations: 12.06 kB / 377.2 MB, free: 2.637 MB / 346.7 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.0001712/0.01889, allocations: 175.5 kB / 377.4 MB, free: 2.449 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.057e-05/0.01893, allocations: 23.89 kB / 377.4 MB, free: 2.426 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.925e-05/0.01895, allocations: 13.06 kB / 377.5 MB, free: 2.414 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.01895, allocations: 0 / 377.5 MB, free: 2.414 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.01895, allocations: 4 kB / 377.5 MB, free: 2.41 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.01896, allocations: 3.984 kB / 377.5 MB, free: 2.406 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.01909, allocations: 117.3 kB / 377.6 MB, free: 2.262 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.01909, allocations: 0 / 377.6 MB, free: 2.262 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.987e-06/0.0191, allocations: 7.984 kB / 377.6 MB, free: 2.254 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.0191, allocations: 8 kB / 377.6 MB, free: 2.246 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.01911, allocations: 8 kB / 377.6 MB, free: 2.238 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.01912, allocations: 3.938 kB / 377.6 MB, free: 2.234 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.01912, allocations: 0 / 377.6 MB, free: 2.234 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005968/0.01971, allocations: 444.2 kB / 378 MB, free: 1.77 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.746e-05/0.01974, allocations: 19.83 kB / 378.1 MB, free: 1.75 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.01977, allocations: 4 kB / 378.1 MB, free: 1.746 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.431e-05/0.01981, allocations: 7.938 kB / 378.1 MB, free: 1.738 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.158e-05/0.01984, allocations: 8 kB / 378.1 MB, free: 1.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.01986, allocations: 7.938 kB / 378.1 MB, free: 1.723 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.71e-05/0.01994, allocations: 107.2 kB / 378.2 MB, free: 1.617 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01994, allocations: 4.031 kB / 378.2 MB, free: 1.613 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004445/0.02039, allocations: 131.8 kB / 378.3 MB, free: 1.484 MB / 346.7 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.0004713/0.02086, allocations: 198.2 kB / 378.5 MB, free: 1.281 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005948/0.02145, allocations: 430.6 kB / 378.9 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.02146, allocations: 0 / 378.9 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002999/0.02176, allocations: 253 kB / 379.2 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.022, allocations: 24.12 kB / 379.2 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007229/0.02272, allocations: 450.5 kB / 379.6 MB, free: 72 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/0.02286, allocations: 104.3 kB / 379.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.493e-05/0.02288, allocations: 0 / 379.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.599e-05/0.02289, allocations: 8.5 kB / 379.8 MB, free: 15.94 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.02289, allocations: 4 kB / 379.8 MB, free: 15.93 MB / 362.7 MB [CodegenCFunctions.tpl:5860:13-5860: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.4141943850554526]