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.001319/0.001319, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001549/0.001549, allocations: 161 kB / 24.56 MB, free: 16 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 0.9859/0.9859, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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.2538/0.2538, allocations: 29.41 MB / 290.9 MB, free: 2.43 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.213e-06/1.213e-06, allocations: 0 / 369.7 MB, free: 10.96 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.351e-05/1.472e-05, allocations: 6.312 kB / 369.7 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.002265/0.00228, allocations: 2.308 MB / 372 MB, free: 8.625 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002124/0.004404, allocations: 1.969 MB / 373.9 MB, free: 6.645 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.694e-05/0.004451, allocations: 3.938 kB / 373.9 MB, free: 6.641 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001282/0.004579, allocations: 15.86 kB / 374 MB, free: 6.625 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.962e-05/0.004668, allocations: 43.75 kB / 374 MB, free: 6.582 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001431/0.006099, allocations: 0.9583 MB / 375 MB, free: 5.621 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.006217, allocations: 99.55 kB / 375.1 MB, free: 5.523 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.436e-05/0.006252, allocations: 4 kB / 375.1 MB, free: 5.52 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.006365, allocations: 47.88 kB / 375.1 MB, free: 5.473 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.279e-05/0.006438, allocations: 59.81 kB / 375.2 MB, free: 5.414 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.00645, allocations: 0 / 375.2 MB, free: 5.414 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001758/0.008208, allocations: 1.855 MB / 377 MB, free: 3.555 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.635e-05/0.008254, allocations: 35.91 kB / 377.1 MB, free: 3.52 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.66e-05/0.008291, allocations: 23.94 kB / 377.1 MB, free: 3.496 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001214/0.009505, allocations: 1.484 MB / 378.6 MB, free: 2.008 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.009507, allocations: 0 / 378.6 MB, free: 2.008 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.009508, allocations: 0 / 378.6 MB, free: 2.008 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.009512, allocations: 4 kB / 378.6 MB, free: 2.004 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.0004649/0.009977, allocations: 0.5747 MB / 379.1 MB, free: 1.387 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.01002, allocations: 11.98 kB / 379.2 MB, free: 1.375 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.174e-05/0.01007, allocations: 12.84 kB / 379.2 MB, free: 1.363 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.0102, allocations: 140.4 kB / 379.3 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.365e-06/0.0102, allocations: 4.375 kB / 379.3 MB, free: 1.195 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.01022, allocations: 384 / 379.3 MB, free: 1.195 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.01033, allocations: 87.44 kB / 379.4 MB, free: 1.098 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.38e-06/0.01034, allocations: 0 / 379.4 MB, free: 1.098 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.01035, allocations: 0 / 379.4 MB, free: 1.098 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.01035, allocations: 7.984 kB / 379.4 MB, free: 1.09 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.92e-05/0.01039, allocations: 53.69 kB / 379.5 MB, free: 1.031 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001025/0.0105, allocations: 132.6 kB / 379.6 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.049e-05/0.01056, allocations: 72.77 kB / 379.7 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.886e-05/0.0106, allocations: 57.41 kB / 379.7 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.697e-06/0.0106, allocations: 3.938 kB / 379.7 MB, free: 0.707 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.01062, allocations: 37.39 kB / 379.7 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 6.61e-07/0.01062, allocations: 0 / 379.7 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002216/0.01084, allocations: 222.9 kB / 380 MB, free: 428 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.01088, allocations: 89.09 kB / 380.1 MB, free: 320 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.01098, allocations: 212.6 kB / 380.3 MB, free: 92 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.01099, allocations: 29.7 kB / 380.3 MB, free: 56 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.557e-05/0.01104, allocations: 147.1 kB / 380.4 MB, free: 15.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.939e-05/0.01108, allocations: 51.53 kB / 380.5 MB, free: 15.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/0.01112, allocations: 31.36 kB / 380.5 MB, free: 15.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.01123, allocations: 0.4962 MB / 381 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.072e-05/0.01127, allocations: 57.62 kB / 381.1 MB, free: 15.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.316e-05/0.0113, allocations: 45.69 kB / 381.1 MB, free: 15.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.36e-05/0.01138, allocations: 121.9 kB / 381.2 MB, free: 15.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01139, allocations: 0 / 381.2 MB, free: 15.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001287/0.01151, allocations: 165 kB / 381.4 MB, free: 14.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.787e-05/0.01155, allocations: 57.67 kB / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.01156, allocations: 0 / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.01157, allocations: 0 / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.084e-06/0.01157, allocations: 0 / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.01158, allocations: 0 / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.642e-05/0.01161, allocations: 4 kB / 381.5 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.01163, allocations: 4 kB / 381.5 MB, free: 14.81 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 9.062e-05/0.01172, allocations: 210.2 kB / 381.7 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.01174, allocations: 19.91 kB / 381.7 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.689e-05/0.01176, allocations: 12.72 kB / 381.7 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.01176, allocations: 4 kB / 381.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.01176, allocations: 4 kB / 381.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.01176, allocations: 0 / 381.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.144e-05/0.01185, allocations: 148.5 kB / 381.8 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01185, allocations: 0 / 381.8 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.21e-07/0.01185, allocations: 0 / 381.8 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.01185, allocations: 0 / 381.8 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.01186, allocations: 4 kB / 381.8 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.01186, allocations: 3.938 kB / 381.9 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.01186, allocations: 3.984 kB / 381.9 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/0.01205, allocations: 239.8 kB / 382.1 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.087e-05/0.01206, allocations: 15.92 kB / 382.1 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.01207, allocations: 4 kB / 382.1 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.134e-05/0.0121, allocations: 7.938 kB / 382.1 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.588e-05/0.01211, allocations: 3.938 kB / 382.1 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.924e-06/0.01212, allocations: 8 kB / 382.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.14e-05/0.01217, allocations: 154 kB / 382.3 MB, free: 13.9 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01217, allocations: 0 / 382.3 MB, free: 13.9 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004375/0.01261, allocations: 327.3 kB / 382.6 MB, free: 13.58 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.0006075/0.01322, allocations: 421.1 kB / 383 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001751/0.01339, allocations: 214.4 kB / 383.2 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.01339, allocations: 0 / 383.2 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.768e-05/0.01347, allocations: 148.8 kB / 383.4 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.01362, allocations: 12 kB / 383.4 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005371/0.01415, allocations: 339.4 kB / 383.7 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.877e-05/0.01419, allocations: 75.33 kB / 383.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.504e-05/0.01421, allocations: 3.984 kB / 383.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.332e-05/0.01422, allocations: 12.5 kB / 383.8 MB, free: 12.27 MB / 362.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01422, allocations: 0 / 383.8 MB, free: 12.27 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.8341076839715242]