Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.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.001114/0.001114, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001195/0.001195, allocations: 167.3 kB / 24.99 MB, free: 8.746 MB / 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 0.9264/0.9264, allocations: 177.1 MB / 205.3 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2401/0.2401, allocations: 29.41 MB / 291.2 MB, free: 2.504 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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.EqCircFromTransDat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|r_rd.[0-9,]+.|r_rq.[0-9,]+.|xm_d.[0-9,]+.|xm_q.[0-9,]+.|xsig_rd.[0-9,]+.|xsig_rq.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") translateModel(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|r_rd.[0-9,]+.|r_rq.[0-9,]+.|xm_d.[0-9,]+.|xm_q.[0-9,]+.|xsig_rd.[0-9,]+.|xsig_rq.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.396e-05/2.536e-05, allocations: 5.688 kB / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.002647/0.002673, allocations: 2.308 MB / 372 MB, free: 8.984 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002366/0.005039, allocations: 1.961 MB / 373.9 MB, free: 7.012 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.508e-05/0.005114, allocations: 8 kB / 373.9 MB, free: 7.004 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001358/0.00525, allocations: 19.84 kB / 373.9 MB, free: 6.984 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.148e-05/0.005341, allocations: 31.77 kB / 374 MB, free: 6.953 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002106/0.007448, allocations: 0.9545 MB / 374.9 MB, free: 5.996 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.007617, allocations: 99.55 kB / 375 MB, free: 5.898 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.749e-05/0.007664, allocations: 4 kB / 375 MB, free: 5.895 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001623/0.007826, allocations: 63.75 kB / 375.1 MB, free: 5.832 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.956e-05/0.007926, allocations: 51.86 kB / 375.1 MB, free: 5.781 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.007938, allocations: 0 / 375.1 MB, free: 5.781 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00261/0.01055, allocations: 1.851 MB / 377 MB, free: 3.926 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.187e-05/0.01061, allocations: 31.91 kB / 377 MB, free: 3.895 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.969e-05/0.01066, allocations: 31.86 kB / 377.1 MB, free: 3.863 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001757/0.01242, allocations: 1.477 MB / 378.5 MB, free: 2.383 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.01242, allocations: 4 kB / 378.5 MB, free: 2.379 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.01242, allocations: 0 / 378.5 MB, free: 2.379 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.01243, allocations: 0 / 378.5 MB, free: 2.379 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006989/0.01313, allocations: 0.5747 MB / 379.1 MB, free: 1.762 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.01317, allocations: 12.03 kB / 379.1 MB, free: 1.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.471e-05/0.01322, allocations: 12.84 kB / 379.1 MB, free: 1.738 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.01339, allocations: 140.4 kB / 379.3 MB, free: 1.574 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.0134, allocations: 384 / 379.3 MB, free: 1.574 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.01341, allocations: 4.375 kB / 379.3 MB, free: 1.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.01356, allocations: 91.44 kB / 379.4 MB, free: 1.469 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/0.01356, allocations: 0 / 379.4 MB, free: 1.469 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.01357, allocations: 4 kB / 379.4 MB, free: 1.465 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.01358, allocations: 0 / 379.4 MB, free: 1.465 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.67e-05/0.01363, allocations: 49.67 kB / 379.4 MB, free: 1.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001268/0.01375, allocations: 136.5 kB / 379.6 MB, free: 1.242 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.678e-05/0.01383, allocations: 76.75 kB / 379.6 MB, free: 1.148 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.281e-05/0.01388, allocations: 57.41 kB / 379.7 MB, free: 1.082 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.801e-06/0.01389, allocations: 4 kB / 379.7 MB, free: 1.078 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.01392, allocations: 37.33 kB / 379.7 MB, free: 1.031 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 9.52e-07/0.01392, allocations: 0 / 379.7 MB, free: 1.031 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002938/0.01421, allocations: 226.3 kB / 379.9 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.01426, allocations: 93.12 kB / 380 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.01439, allocations: 208.6 kB / 380.2 MB, free: 472 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.0144, allocations: 29.64 kB / 380.3 MB, free: 436 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.77e-05/0.01446, allocations: 147.1 kB / 380.4 MB, free: 284 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.234e-05/0.01451, allocations: 51.59 kB / 380.5 MB, free: 232 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-05/0.01456, allocations: 27.36 kB / 380.5 MB, free: 196 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.0147, allocations: 0.4962 MB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.202e-05/0.01475, allocations: 45.7 kB / 381 MB, free: 15.63 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.225e-05/0.0148, allocations: 49.69 kB / 381.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.01491, allocations: 123 kB / 381.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.01491, allocations: 0 / 381.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001647/0.01507, allocations: 161 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.866e-05/0.01512, allocations: 57.61 kB / 381.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.01512, allocations: 0 / 381.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.01514, allocations: 0 / 381.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-06/0.01514, allocations: 0 / 381.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.01514, allocations: 0 / 381.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.197e-05/0.0152, allocations: 7.938 kB / 381.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.01522, allocations: 8 kB / 381.4 MB, free: 15.19 MB / 362.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.0001054/0.01532, allocations: 206.2 kB / 381.6 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.01535, allocations: 19.91 kB / 381.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.815e-05/0.01537, allocations: 16.73 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.01537, allocations: 3.938 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.01537, allocations: 0 / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.01537, allocations: 4 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.561e-05/0.01547, allocations: 140.5 kB / 381.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.01547, allocations: 0 / 381.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.02e-07/0.01547, allocations: 0 / 381.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.01547, allocations: 4 kB / 381.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.01549, allocations: 8 kB / 381.8 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.01549, allocations: 3.938 kB / 381.8 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.01549, allocations: 0 / 381.8 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002448/0.01574, allocations: 247.5 kB / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.562e-05/0.01575, allocations: 15.84 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.01577, allocations: 4 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.409e-05/0.01581, allocations: 7.938 kB / 382.1 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.604e-05/0.01582, allocations: 0 / 382.1 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.01583, allocations: 11.98 kB / 382.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.611e-05/0.0159, allocations: 154 kB / 382.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0159, allocations: 0 / 382.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008248/0.01673, allocations: 335.3 kB / 382.6 MB, free: 13.95 MB / 362.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.0008299/0.01756, allocations: 394.5 kB / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002532/0.01781, allocations: 221.2 kB / 383.2 MB, free: 13.31 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01781, allocations: 0 / 383.2 MB, free: 13.31 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.01792, allocations: 148.8 kB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.01814, allocations: 15.98 kB / 383.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006757/0.01881, allocations: 347.4 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.617e-05/0.01886, allocations: 75.33 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.816e-05/0.01888, allocations: 3.938 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.469e-05/0.01889, allocations: 8.5 kB / 383.8 MB, free: 12.65 MB / 362.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01889, allocations: 0 / 383.8 MB, free: 12.65 MB / 362.7 MB [CodegenCFunctions.tpl:5910:13-5910: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: 1.9381209949497133]