Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.001899/0.001899, 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.001663/0.001663, allocations: 161.7 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.543/1.543, allocations: 177.1 MB / 204.6 MB, free: 5.582 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.3021/0.3021, allocations: 29.42 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.EqCircFromTransDat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") translateModel(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.416e-05/3.603e-05, allocations: 5.812 kB / 368.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.0042/0.004236, allocations: 2.25 MB / 371.2 MB, free: 9.02 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003556/0.007792, allocations: 1.898 MB / 373 MB, free: 7.109 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.835e-05/0.00785, allocations: 0 / 373 MB, free: 7.109 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001743/0.008024, allocations: 23.78 kB / 373.1 MB, free: 7.086 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000147/0.008171, allocations: 39.75 kB / 373.1 MB, free: 7.047 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002846/0.01102, allocations: 0.9545 MB / 374.1 MB, free: 6.09 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001984/0.01122, allocations: 99.55 kB / 374.2 MB, free: 5.992 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.295e-05/0.01126, allocations: 3.938 kB / 374.2 MB, free: 5.988 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001899/0.01145, allocations: 51.88 kB / 374.2 MB, free: 5.938 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.01156, allocations: 51.81 kB / 374.3 MB, free: 5.887 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.01158, allocations: 4 kB / 374.3 MB, free: 5.883 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003267/0.01485, allocations: 1.851 MB / 376.1 MB, free: 4.027 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.865e-05/0.01493, allocations: 39.91 kB / 376.2 MB, free: 3.988 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.658e-05/0.015, allocations: 15.94 kB / 376.2 MB, free: 3.973 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002413/0.01741, allocations: 1.492 MB / 377.7 MB, free: 2.477 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.01741, allocations: 0 / 377.7 MB, free: 2.477 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.01742, allocations: 0 / 377.7 MB, free: 2.477 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.01742, allocations: 0 / 377.7 MB, free: 2.477 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.0009363/0.01836, allocations: 482.2 kB / 378.1 MB, free: 1.969 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.01841, allocations: 11.98 kB / 378.2 MB, free: 1.957 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.453e-05/0.01849, allocations: 16.84 kB / 378.2 MB, free: 1.941 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.01872, allocations: 133.6 kB / 378.3 MB, free: 1.785 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.01873, allocations: 4.375 kB / 378.3 MB, free: 1.781 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.01875, allocations: 384 / 378.3 MB, free: 1.781 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002638/0.01901, allocations: 131.4 kB / 378.4 MB, free: 1.641 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.01902, allocations: 0 / 378.4 MB, free: 1.641 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.01903, allocations: 0 / 378.4 MB, free: 1.641 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.01904, allocations: 0 / 378.4 MB, free: 1.641 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.01916, allocations: 85.66 kB / 378.5 MB, free: 1.551 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001945/0.01936, allocations: 125.2 kB / 378.6 MB, free: 1.398 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.01953, allocations: 104.2 kB / 378.7 MB, free: 1.281 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.01965, allocations: 90.55 kB / 378.8 MB, free: 1.184 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.01966, allocations: 0 / 378.8 MB, free: 1.184 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/0.0197, allocations: 42.5 kB / 378.9 MB, free: 1.133 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 9.12e-07/0.0197, allocations: 0 / 378.9 MB, free: 1.133 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005736/0.02028, allocations: 326.8 kB / 379.2 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.89e-05/0.02036, allocations: 93.09 kB / 379.3 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.02052, allocations: 149.2 kB / 379.4 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.02055, allocations: 25.7 kB / 379.5 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.66e-05/0.02063, allocations: 96.38 kB / 379.5 MB, free: 404 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.733e-05/0.02069, allocations: 51.58 kB / 379.6 MB, free: 352 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.237e-05/0.02074, allocations: 25.7 kB / 379.6 MB, free: 320 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002098/0.02095, allocations: 322.8 kB / 379.9 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.02106, allocations: 85.7 kB / 380 MB, free: 15.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.02117, allocations: 97.47 kB / 380.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002422/0.02141, allocations: 188.2 kB / 380.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.02142, allocations: 0 / 380.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004261/0.02184, allocations: 232.9 kB / 380.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.264e-05/0.02191, allocations: 57.61 kB / 380.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.02192, allocations: 0 / 380.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.02194, allocations: 0 / 380.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.252e-06/0.02194, allocations: 0 / 380.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.02194, allocations: 0 / 380.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.306e-05/0.02201, allocations: 7.938 kB / 380.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.02203, allocations: 12.06 kB / 380.6 MB, free: 15.27 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.00016/0.02219, allocations: 167.5 kB / 380.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.674e-05/0.02223, allocations: 19.91 kB / 380.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.041e-05/0.02225, allocations: 16.66 kB / 380.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.02225, allocations: 3.984 kB / 380.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.02226, allocations: 4 kB / 380.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.02226, allocations: 0 / 380.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.0224, allocations: 125.3 kB / 380.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.0224, allocations: 3.984 kB / 380.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.72e-07/0.0224, allocations: 0 / 380.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.02241, allocations: 4 kB / 380.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.02242, allocations: 4 kB / 380.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.02242, allocations: 3.938 kB / 380.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.02242, allocations: 0 / 380.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000487/0.02291, allocations: 344.3 kB / 381.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.389e-05/0.02294, allocations: 19.84 kB / 381.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.02296, allocations: 0 / 381.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.113e-05/0.023, allocations: 7.938 kB / 381.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.743e-05/0.02303, allocations: 4 kB / 381.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.02304, allocations: 7.984 kB / 381.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001012/0.02314, allocations: 117.8 kB / 381.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02314, allocations: 7.969 kB / 381.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001062/0.0242, allocations: 331.4 kB / 381.8 MB, free: 14.04 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.001042/0.02524, allocations: 412.1 kB / 382.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004523/0.0257, allocations: 322.6 kB / 382.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.0257, allocations: 0 / 382.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002173/0.02592, allocations: 197 kB / 382.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.02622, allocations: 20.12 kB / 382.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006807/0.0269, allocations: 389.7 kB / 383.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.027, allocations: 104.2 kB / 383.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.756e-05/0.02702, allocations: 3.984 kB / 383.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.885e-05/0.02704, allocations: 16.5 kB / 383.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.02704, allocations: 0 / 383.2 MB, free: 12.5 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.5143007439328358]