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.0009187/0.0009187, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0008732/0.0008732, 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.9085/0.9085, allocations: 177.1 MB / 205 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.2319/0.2319, allocations: 29.41 MB / 290.9 MB, free: 2.496 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 2.886e-06/2.886e-06, allocations: 0 / 369.7 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.03e-05/3.318e-05, allocations: 5.406 kB / 369.7 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.002597/0.00263, allocations: 2.32 MB / 372 MB, free: 8.656 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.003939, allocations: 1.064 MB / 373 MB, free: 7.59 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.02e-05/0.003999, allocations: 0 / 373 MB, free: 7.59 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001472/0.004146, allocations: 15.91 kB / 373.1 MB, free: 7.574 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.004259, allocations: 55.67 kB / 373.1 MB, free: 7.52 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008348/0.005094, allocations: 342.8 kB / 373.4 MB, free: 7.184 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.005247, allocations: 115.6 kB / 373.6 MB, free: 7.07 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.602e-05/0.005283, allocations: 4 kB / 373.6 MB, free: 7.066 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.005439, allocations: 71.73 kB / 373.6 MB, free: 6.996 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.034e-05/0.005529, allocations: 67.77 kB / 373.7 MB, free: 6.93 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.00554, allocations: 0 / 373.7 MB, free: 6.93 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008627/0.006403, allocations: 0.5728 MB / 374.3 MB, free: 6.355 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.019e-05/0.006463, allocations: 39.84 kB / 374.3 MB, free: 6.316 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.652e-05/0.0065, allocations: 27.92 kB / 374.3 MB, free: 6.289 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005172/0.007017, allocations: 0.561 MB / 374.9 MB, free: 5.727 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.00702, allocations: 0 / 374.9 MB, free: 5.727 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.007021, allocations: 0 / 374.9 MB, free: 5.727 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.007025, allocations: 0 / 374.9 MB, free: 5.727 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.0003936/0.007418, allocations: 489.5 kB / 375.4 MB, free: 5.207 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.007456, allocations: 11.98 kB / 375.4 MB, free: 5.195 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.58e-05/0.007502, allocations: 16.84 kB / 375.4 MB, free: 5.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.007641, allocations: 140.4 kB / 375.5 MB, free: 5.016 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.306e-06/0.007649, allocations: 384 / 375.5 MB, free: 5.016 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.00766, allocations: 8.359 kB / 375.6 MB, free: 5.008 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.007787, allocations: 103.9 kB / 375.7 MB, free: 4.895 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.007796, allocations: 3.938 kB / 375.7 MB, free: 4.891 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.007805, allocations: 0 / 375.7 MB, free: 4.891 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.007813, allocations: 0 / 375.7 MB, free: 4.891 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.647e-05/0.007859, allocations: 65.62 kB / 375.7 MB, free: 4.82 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001021/0.007961, allocations: 132.5 kB / 375.9 MB, free: 4.656 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.291e-05/0.008034, allocations: 96.72 kB / 375.9 MB, free: 4.543 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.891e-05/0.008083, allocations: 77.34 kB / 376 MB, free: 4.457 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.03e-06/0.008088, allocations: 4 kB / 376 MB, free: 4.453 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.008109, allocations: 33.39 kB / 376.1 MB, free: 4.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 7.71e-07/0.00811, allocations: 0 / 376.1 MB, free: 4.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.0002664/0.008376, allocations: 290.9 kB / 376.3 MB, free: 4.102 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.008416, allocations: 97.09 kB / 376.4 MB, free: 3.988 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.315e-05/0.008509, allocations: 188.7 kB / 376.6 MB, free: 3.789 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.00852, allocations: 25.7 kB / 376.6 MB, free: 3.758 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.269e-05/0.008562, allocations: 139.2 kB / 376.8 MB, free: 3.617 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.75e-05/0.00861, allocations: 67.42 kB / 376.8 MB, free: 3.551 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.008642, allocations: 31.38 kB / 376.9 MB, free: 3.512 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.008756, allocations: 0.5001 MB / 377.4 MB, free: 3 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.34e-05/0.00881, allocations: 65.67 kB / 377.4 MB, free: 2.93 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.128e-05/0.008851, allocations: 65.64 kB / 377.5 MB, free: 2.859 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.008953, allocations: 152.4 kB / 377.7 MB, free: 2.695 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.008955, allocations: 0 / 377.7 MB, free: 2.695 MB / 346.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001485/0.009104, allocations: 212.2 kB / 377.9 MB, free: 2.473 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.882e-05/0.009143, allocations: 53.67 kB / 377.9 MB, free: 2.414 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.009148, allocations: 0 / 377.9 MB, free: 2.414 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.009161, allocations: 3.938 kB / 377.9 MB, free: 2.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.228e-06/0.009165, allocations: 0 / 377.9 MB, free: 2.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.009171, allocations: 4.062 kB / 377.9 MB, free: 2.406 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.956e-05/0.00921, allocations: 15.89 kB / 377.9 MB, free: 2.391 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.009228, allocations: 7.984 kB / 377.9 MB, free: 2.383 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 9.048e-05/0.009318, allocations: 210.2 kB / 378.2 MB, free: 2.16 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.7e-05/0.009335, allocations: 19.95 kB / 378.2 MB, free: 2.141 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.147e-05/0.009347, allocations: 5.125 kB / 378.2 MB, free: 2.137 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.009351, allocations: 7.938 kB / 378.2 MB, free: 2.129 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.009354, allocations: 0 / 378.2 MB, free: 2.129 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.009357, allocations: 0 / 378.2 MB, free: 2.129 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.132e-05/0.009428, allocations: 136.6 kB / 378.3 MB, free: 1.961 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.009429, allocations: 0 / 378.3 MB, free: 1.961 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.413e-06/0.00943, allocations: 12 kB / 378.3 MB, free: 1.949 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.009431, allocations: 0 / 378.3 MB, free: 1.949 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.009442, allocations: 7.984 kB / 378.3 MB, free: 1.941 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.009443, allocations: 0 / 378.3 MB, free: 1.941 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.009445, allocations: 7.875 kB / 378.3 MB, free: 1.934 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.009664, allocations: 323.6 kB / 378.7 MB, free: 1.582 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.215e-05/0.009676, allocations: 15.88 kB / 378.7 MB, free: 1.566 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.00969, allocations: 4 kB / 378.7 MB, free: 1.562 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.873e-05/0.009709, allocations: 4 kB / 378.7 MB, free: 1.559 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.814e-05/0.009727, allocations: 11.94 kB / 378.7 MB, free: 1.547 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/0.009734, allocations: 8.031 kB / 378.7 MB, free: 1.539 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.679e-05/0.009781, allocations: 143.1 kB / 378.8 MB, free: 1.398 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009781, allocations: 0 / 378.8 MB, free: 1.398 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002945/0.01008, allocations: 131.8 kB / 379 MB, free: 1.27 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.0003066/0.01038, allocations: 198.9 kB / 379.2 MB, free: 1.062 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002202/0.0106, allocations: 286.3 kB / 379.4 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.0106, allocations: 0 / 379.4 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.96e-05/0.0107, allocations: 188.7 kB / 379.6 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001643/0.01087, allocations: 27.5 kB / 379.7 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003905/0.01126, allocations: 366.8 kB / 380 MB, free: 132 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.447e-05/0.0113, allocations: 83.31 kB / 380.1 MB, free: 28 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.387e-05/0.01132, allocations: 0 / 380.1 MB, free: 28 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.307e-05/0.01133, allocations: 8.5 kB / 380.1 MB, free: 20 kB / 346.7 MB Notification: Performance of SimCode: time 3.7e-07/0.01133, allocations: 0 / 380.1 MB, free: 20 kB / 346.7 MB [CodegenCFunctions.tpl:6359:13-6359: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.7187735922634602]