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.001003/0.001003, 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.001183/0.001183, allocations: 162.5 kB / 24.99 MB, free: 9.273 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 1.027/1.027, allocations: 177.1 MB / 205.3 MB, free: 5.613 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.2473/0.2473, allocations: 29.42 MB / 291.2 MB, free: 2.516 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.914e-06/1.914e-06, allocations: 0 / 369.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.419e-05/2.61e-05, allocations: 2.312 kB / 369.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.003523/0.003549, allocations: 2.326 MB / 372 MB, free: 8.965 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.005231, allocations: 1.056 MB / 373 MB, free: 7.906 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.357e-05/0.005304, allocations: 0 / 373 MB, free: 7.906 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001552/0.005459, allocations: 19.78 kB / 373 MB, free: 7.887 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001378/0.005597, allocations: 51.73 kB / 373.1 MB, free: 7.836 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.006699, allocations: 338.8 kB / 373.4 MB, free: 7.504 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.006891, allocations: 115.6 kB / 373.5 MB, free: 7.391 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.937e-05/0.00694, allocations: 11.97 kB / 373.5 MB, free: 7.379 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.007129, allocations: 63.8 kB / 373.6 MB, free: 7.316 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.007254, allocations: 67.78 kB / 373.7 MB, free: 7.25 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.007268, allocations: 4 kB / 373.7 MB, free: 7.246 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009334/0.008202, allocations: 0.5727 MB / 374.2 MB, free: 6.672 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.708e-05/0.008279, allocations: 39.84 kB / 374.3 MB, free: 6.633 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.307e-05/0.008332, allocations: 27.92 kB / 374.3 MB, free: 6.605 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008907/0.009222, allocations: 0.561 MB / 374.9 MB, free: 6.043 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.009227, allocations: 0 / 374.9 MB, free: 6.043 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.009229, allocations: 4 kB / 374.9 MB, free: 6.039 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.009234, allocations: 0 / 374.9 MB, free: 6.039 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.000571/0.009805, allocations: 489.5 kB / 375.4 MB, free: 5.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.009848, allocations: 11.98 kB / 375.4 MB, free: 5.508 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.082e-05/0.009909, allocations: 16.84 kB / 375.4 MB, free: 5.492 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.01009, allocations: 132.5 kB / 375.5 MB, free: 5.336 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.0101, allocations: 384 / 375.5 MB, free: 5.336 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.01011, allocations: 4.375 kB / 375.5 MB, free: 5.332 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.01029, allocations: 110.6 kB / 375.6 MB, free: 5.215 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.0103, allocations: 3.938 kB / 375.6 MB, free: 5.211 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.01031, allocations: 3.938 kB / 375.6 MB, free: 5.207 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.01032, allocations: 4 kB / 375.6 MB, free: 5.203 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.997e-05/0.01039, allocations: 61.69 kB / 375.7 MB, free: 5.137 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001397/0.01053, allocations: 136.5 kB / 375.8 MB, free: 4.969 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.726e-05/0.01062, allocations: 88.75 kB / 375.9 MB, free: 4.863 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/0.01084, allocations: 73.39 kB / 376 MB, free: 4.781 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.652e-06/0.01084, allocations: 4 kB / 376 MB, free: 4.777 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.01087, allocations: 37.33 kB / 376 MB, free: 4.73 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 1.052e-06/0.01087, allocations: 0 / 376 MB, free: 4.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003891/0.01126, allocations: 286.9 kB / 376.3 MB, free: 4.426 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.088e-05/0.01132, allocations: 93.09 kB / 376.4 MB, free: 4.316 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.01145, allocations: 196.9 kB / 376.6 MB, free: 4.109 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.01146, allocations: 25.7 kB / 376.6 MB, free: 4.078 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.22e-05/0.01153, allocations: 139.2 kB / 376.8 MB, free: 3.938 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.739e-05/0.01159, allocations: 63.44 kB / 376.8 MB, free: 3.875 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.471e-05/0.01165, allocations: 35.36 kB / 376.8 MB, free: 3.832 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.01179, allocations: 0.4962 MB / 377.3 MB, free: 3.324 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.996e-05/0.01186, allocations: 61.69 kB / 377.4 MB, free: 3.258 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.723e-05/0.01193, allocations: 73.56 kB / 377.5 MB, free: 3.18 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.01208, allocations: 152.6 kB / 377.6 MB, free: 3.016 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.01208, allocations: 0 / 377.6 MB, free: 3.016 MB / 346.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002297/0.01231, allocations: 211.2 kB / 377.8 MB, free: 2.793 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.538e-05/0.01237, allocations: 53.67 kB / 377.9 MB, free: 2.734 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.01237, allocations: 0 / 377.9 MB, free: 2.734 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.01239, allocations: 3.938 kB / 377.9 MB, free: 2.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.01239, allocations: 0 / 377.9 MB, free: 2.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.01239, allocations: 4 kB / 377.9 MB, free: 2.727 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.943e-05/0.01245, allocations: 15.89 kB / 377.9 MB, free: 2.711 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.01248, allocations: 4 kB / 377.9 MB, free: 2.707 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.0001243/0.0126, allocations: 214.2 kB / 378.1 MB, free: 2.48 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.307e-05/0.01263, allocations: 23.89 kB / 378.1 MB, free: 2.457 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.589e-05/0.01265, allocations: 9.156 kB / 378.2 MB, free: 2.449 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.01266, allocations: 7.938 kB / 378.2 MB, free: 2.441 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.01266, allocations: 0 / 378.2 MB, free: 2.441 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.01266, allocations: 0 / 378.2 MB, free: 2.441 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.01277, allocations: 136.6 kB / 378.3 MB, free: 2.273 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.01277, allocations: 3.938 kB / 378.3 MB, free: 2.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.452e-06/0.01277, allocations: 4 kB / 378.3 MB, free: 2.266 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.01278, allocations: 0 / 378.3 MB, free: 2.266 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.01279, allocations: 4 kB / 378.3 MB, free: 2.262 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.01279, allocations: 3.984 kB / 378.3 MB, free: 2.258 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.01279, allocations: 3.938 kB / 378.3 MB, free: 2.254 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003503/0.01315, allocations: 323.6 kB / 378.6 MB, free: 1.902 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.237e-05/0.01317, allocations: 11.89 kB / 378.6 MB, free: 1.891 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.01319, allocations: 7.984 kB / 378.6 MB, free: 1.883 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.768e-05/0.01323, allocations: 4 kB / 378.7 MB, free: 1.879 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.351e-05/0.01325, allocations: 11.94 kB / 378.7 MB, free: 1.867 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.01327, allocations: 4 kB / 378.7 MB, free: 1.863 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.707e-05/0.01333, allocations: 147 kB / 378.8 MB, free: 1.719 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01333, allocations: 0 / 378.8 MB, free: 1.719 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004952/0.01383, allocations: 131.8 kB / 378.9 MB, free: 1.59 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.0004603/0.01429, allocations: 201.8 kB / 379.1 MB, free: 1.383 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003411/0.01463, allocations: 289.6 kB / 379.4 MB, free: 1.074 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01463, allocations: 0 / 379.4 MB, free: 1.074 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001621/0.01479, allocations: 188.7 kB / 379.6 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.01504, allocations: 16 kB / 379.6 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005568/0.0156, allocations: 376.2 kB / 380 MB, free: 456 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.464e-05/0.01566, allocations: 83.31 kB / 380.1 MB, free: 352 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.069e-05/0.01568, allocations: 0 / 380.1 MB, free: 352 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.811e-05/0.0157, allocations: 8.5 kB / 380.1 MB, free: 344 kB / 346.7 MB Notification: Performance of SimCode: time 9.02e-07/0.0157, allocations: 0 / 380.1 MB, free: 344 kB / 346.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.9128336349967867]