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.001932/0.001932, allocations: 91.62 kB / 20.96 MB, free: 3.457 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.002145/0.002145, allocations: 161.3 kB / 24.27 MB, free: 152 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.561/1.561, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.3096/0.3096, allocations: 29.41 MB / 290.5 MB, free: 2.426 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 1.843e-06/1.843e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.925e-05/3.109e-05, allocations: 2.312 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.005852/0.005883, allocations: 2.283 MB / 371.2 MB, free: 9.012 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002943/0.008827, allocations: 1.056 MB / 372.2 MB, free: 7.953 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.772e-05/0.008904, allocations: 0 / 372.2 MB, free: 7.953 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001728/0.009077, allocations: 11.92 kB / 372.2 MB, free: 7.941 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002195/0.009297, allocations: 59.64 kB / 372.3 MB, free: 7.883 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001676/0.01097, allocations: 342.8 kB / 372.6 MB, free: 7.547 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003117/0.01128, allocations: 119.5 kB / 372.8 MB, free: 7.43 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.29e-05/0.01134, allocations: 4 kB / 372.8 MB, free: 7.426 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002765/0.01161, allocations: 67.8 kB / 372.8 MB, free: 7.359 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001979/0.01181, allocations: 67.77 kB / 372.9 MB, free: 7.293 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.01183, allocations: 4 kB / 372.9 MB, free: 7.289 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001624/0.01346, allocations: 0.5572 MB / 373.5 MB, free: 6.73 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.01356, allocations: 39.91 kB / 373.5 MB, free: 6.691 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.898e-05/0.01364, allocations: 27.92 kB / 373.5 MB, free: 6.664 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001334/0.01498, allocations: 0.5609 MB / 374.1 MB, free: 6.102 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.01498, allocations: 4 kB / 374.1 MB, free: 6.098 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.01498, allocations: 0 / 374.1 MB, free: 6.098 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.665e-05/0.015, allocations: 0 / 374.1 MB, free: 6.098 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.0009302/0.01593, allocations: 497 kB / 374.6 MB, free: 5.57 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.529e-05/0.016, allocations: 19.97 kB / 374.6 MB, free: 5.551 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.97e-05/0.01608, allocations: 12.84 kB / 374.6 MB, free: 5.539 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.01635, allocations: 132.4 kB / 374.7 MB, free: 5.383 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.01637, allocations: 4.375 kB / 374.7 MB, free: 5.379 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.01638, allocations: 384 / 374.7 MB, free: 5.379 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002515/0.01664, allocations: 99.94 kB / 374.8 MB, free: 5.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.01665, allocations: 7.938 kB / 374.8 MB, free: 5.262 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.01666, allocations: 0 / 374.8 MB, free: 5.262 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.01667, allocations: 4 kB / 374.8 MB, free: 5.258 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.0168, allocations: 61.62 kB / 374.9 MB, free: 5.191 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002493/0.01705, allocations: 132.5 kB / 375 MB, free: 5.027 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/0.01727, allocations: 96.73 kB / 375.1 MB, free: 4.914 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.01742, allocations: 77.75 kB / 375.2 MB, free: 4.828 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.01743, allocations: 0 / 375.2 MB, free: 4.828 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.158e-05/0.01748, allocations: 37.39 kB / 375.2 MB, free: 4.781 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 1.123e-06/0.01748, allocations: 0 / 375.2 MB, free: 4.781 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006797/0.01816, allocations: 297.6 kB / 375.5 MB, free: 4.469 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.01827, allocations: 93.12 kB / 375.6 MB, free: 4.359 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.0185, allocations: 192.7 kB / 375.8 MB, free: 4.156 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.487e-05/0.01854, allocations: 29.7 kB / 375.8 MB, free: 4.121 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.01867, allocations: 143.2 kB / 376 MB, free: 3.977 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.01879, allocations: 71.36 kB / 376.1 MB, free: 3.906 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.601e-05/0.01888, allocations: 35.38 kB / 376.1 MB, free: 3.863 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003738/0.01926, allocations: 0.4962 MB / 376.6 MB, free: 3.355 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.01939, allocations: 61.69 kB / 376.6 MB, free: 3.289 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.01951, allocations: 61.69 kB / 376.7 MB, free: 3.223 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003095/0.01982, allocations: 155.6 kB / 376.9 MB, free: 3.055 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.01983, allocations: 4.031 kB / 376.9 MB, free: 3.051 MB / 346.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004292/0.02025, allocations: 205.8 kB / 377.1 MB, free: 2.832 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.345e-05/0.02035, allocations: 53.67 kB / 377.1 MB, free: 2.773 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.02035, allocations: 0 / 377.1 MB, free: 2.773 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.02037, allocations: 3.938 kB / 377.1 MB, free: 2.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.823e-06/0.02038, allocations: 3.984 kB / 377.1 MB, free: 2.766 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.02039, allocations: 0 / 377.1 MB, free: 2.766 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.712e-05/0.02048, allocations: 15.89 kB / 377.1 MB, free: 2.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.285e-05/0.02052, allocations: 4 kB / 377.1 MB, free: 2.746 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.0002661/0.02078, allocations: 210.2 kB / 377.3 MB, free: 2.523 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.425e-05/0.02085, allocations: 27.98 kB / 377.4 MB, free: 2.496 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.9e-05/0.02087, allocations: 5.125 kB / 377.4 MB, free: 2.492 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.02088, allocations: 11.92 kB / 377.4 MB, free: 2.48 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.02088, allocations: 0 / 377.4 MB, free: 2.48 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.02088, allocations: 0 / 377.4 MB, free: 2.48 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.0211, allocations: 136.6 kB / 377.5 MB, free: 2.312 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/0.02111, allocations: 7.984 kB / 377.5 MB, free: 2.305 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.32e-07/0.02111, allocations: 0 / 377.5 MB, free: 2.305 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.02111, allocations: 0 / 377.5 MB, free: 2.305 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.02113, allocations: 7.938 kB / 377.5 MB, free: 2.297 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.02113, allocations: 0 / 377.5 MB, free: 2.297 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.02114, allocations: 7.938 kB / 377.5 MB, free: 2.289 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007907/0.02193, allocations: 322.2 kB / 377.9 MB, free: 1.941 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.284e-05/0.02196, allocations: 15.84 kB / 377.9 MB, free: 1.926 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.788e-05/0.022, allocations: 4 kB / 377.9 MB, free: 1.922 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.115e-05/0.02207, allocations: 4 kB / 377.9 MB, free: 1.918 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.02212, allocations: 11.94 kB / 377.9 MB, free: 1.906 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/0.02214, allocations: 4 kB / 377.9 MB, free: 1.902 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001371/0.02228, allocations: 141.4 kB / 378 MB, free: 1.766 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02228, allocations: 0 / 378 MB, free: 1.766 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000765/0.02304, allocations: 139.7 kB / 378.2 MB, free: 1.629 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.00073/0.02377, allocations: 198.9 kB / 378.4 MB, free: 1.422 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006377/0.02441, allocations: 314.3 kB / 378.7 MB, free: 1.086 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.02441, allocations: 0 / 378.7 MB, free: 1.086 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003672/0.02478, allocations: 212.7 kB / 378.9 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.02514, allocations: 23.98 kB / 378.9 MB, free: 0.832 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00088/0.02602, allocations: 364.5 kB / 379.3 MB, free: 448 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/0.02617, allocations: 100.3 kB / 379.4 MB, free: 328 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.934e-05/0.02619, allocations: 0 / 379.4 MB, free: 328 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.79e-05/0.02622, allocations: 16.44 kB / 379.4 MB, free: 312 kB / 346.7 MB Notification: Performance of SimCode: time 8.31e-07/0.02622, allocations: 0 / 379.4 MB, free: 312 kB / 346.7 MB [CodegenCFunctions.tpl:5886:13-5886: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.5369369209511206]