Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001179/0.001179, 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.001229/0.001229, allocations: 165.4 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.931/0.931, allocations: 177.1 MB / 205 MB, free: 5.27 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.2332/0.2332, allocations: 29.42 MB / 290.9 MB, free: 2.441 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.TransDatFromEqCirc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|tc_d.[0-9,]+.|tc_q.[0-9,]+.|to_d.[0-9,]+.|to_q.[0-9,]+.|xtr_d.[0-9,]+.|xtr_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") translateModel(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|tc_d.[0-9,]+.|tc_q.[0-9,]+.|to_d.[0-9,]+.|to_q.[0-9,]+.|xtr_d.[0-9,]+.|xtr_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 369.7 MB, free: 10.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.661e-05/2.841e-05, allocations: 2.312 kB / 369.7 MB, free: 10.97 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.003543/0.003572, allocations: 2.33 MB / 372 MB, free: 8.621 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001563/0.005135, allocations: 1.06 MB / 373.1 MB, free: 7.559 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.02e-05/0.005195, allocations: 7.875 kB / 373.1 MB, free: 7.551 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001405/0.005336, allocations: 7.922 kB / 373.1 MB, free: 7.543 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.005464, allocations: 55.72 kB / 373.1 MB, free: 7.488 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.006493, allocations: 338.8 kB / 373.5 MB, free: 7.156 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001918/0.006685, allocations: 115.6 kB / 373.6 MB, free: 7.043 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.006725, allocations: 8 kB / 373.6 MB, free: 7.035 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001656/0.00689, allocations: 59.8 kB / 373.6 MB, free: 6.977 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.751e-05/0.006978, allocations: 75.77 kB / 373.7 MB, free: 6.902 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.658e-06/0.006988, allocations: 3.938 kB / 373.7 MB, free: 6.898 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005995/0.007587, allocations: 0.5688 MB / 374.3 MB, free: 6.328 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.265e-05/0.00767, allocations: 39.86 kB / 374.3 MB, free: 6.289 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.859e-05/0.007718, allocations: 27.92 kB / 374.3 MB, free: 6.262 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007391/0.008457, allocations: 0.561 MB / 374.9 MB, free: 5.699 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.227e-06/0.008461, allocations: 0 / 374.9 MB, free: 5.699 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.008462, allocations: 0 / 374.9 MB, free: 5.699 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.008467, allocations: 4 kB / 374.9 MB, free: 5.695 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.0004704/0.008938, allocations: 493.5 kB / 375.4 MB, free: 5.172 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.008976, allocations: 8.031 kB / 375.4 MB, free: 5.164 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.212e-05/0.009028, allocations: 16.84 kB / 375.4 MB, free: 5.148 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.009183, allocations: 136.4 kB / 375.6 MB, free: 4.988 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.009194, allocations: 384 / 375.6 MB, free: 4.988 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.009204, allocations: 384 / 375.6 MB, free: 4.988 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.009352, allocations: 103.9 kB / 375.7 MB, free: 4.875 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.00936, allocations: 7.875 kB / 375.7 MB, free: 4.867 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.009372, allocations: 3.984 kB / 375.7 MB, free: 4.863 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.00938, allocations: 4 kB / 375.7 MB, free: 4.859 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.827e-05/0.009438, allocations: 61.69 kB / 375.7 MB, free: 4.793 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001385/0.009577, allocations: 140.5 kB / 375.9 MB, free: 4.621 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.919e-05/0.009666, allocations: 92.69 kB / 376 MB, free: 4.512 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.852e-05/0.009725, allocations: 69.41 kB / 376 MB, free: 4.434 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.358e-06/0.009729, allocations: 0 / 376 MB, free: 4.434 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.009755, allocations: 37.39 kB / 376.1 MB, free: 4.387 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 9.52e-07/0.009755, allocations: 0 / 376.1 MB, free: 4.387 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003308/0.01009, allocations: 288.5 kB / 376.3 MB, free: 4.082 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.01013, allocations: 93.09 kB / 376.4 MB, free: 3.973 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.01024, allocations: 192.9 kB / 376.6 MB, free: 3.77 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.01026, allocations: 33.64 kB / 376.7 MB, free: 3.73 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.928e-05/0.01031, allocations: 143.2 kB / 376.8 MB, free: 3.586 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.617e-05/0.01036, allocations: 63.44 kB / 376.9 MB, free: 3.523 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.6e-05/0.01041, allocations: 35.36 kB / 376.9 MB, free: 3.48 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.01054, allocations: 0.4962 MB / 377.4 MB, free: 2.973 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.736e-05/0.01061, allocations: 61.69 kB / 377.4 MB, free: 2.906 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.364e-05/0.01066, allocations: 67.88 kB / 377.5 MB, free: 2.836 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.0108, allocations: 151.1 kB / 377.7 MB, free: 2.672 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.0108, allocations: 0 / 377.7 MB, free: 2.672 MB / 346.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001937/0.01099, allocations: 204.2 kB / 377.9 MB, free: 2.457 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.955e-05/0.01104, allocations: 61.72 kB / 377.9 MB, free: 2.391 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.01105, allocations: 0 / 377.9 MB, free: 2.391 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.01106, allocations: 3.938 kB / 377.9 MB, free: 2.387 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.238e-06/0.01107, allocations: 3.938 kB / 377.9 MB, free: 2.383 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.01107, allocations: 0 / 377.9 MB, free: 2.383 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.301e-05/0.01112, allocations: 15.89 kB / 377.9 MB, free: 2.367 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.01115, allocations: 8 kB / 378 MB, free: 2.359 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.000116/0.01126, allocations: 210.2 kB / 378.2 MB, free: 2.137 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/0.01129, allocations: 19.95 kB / 378.2 MB, free: 2.117 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.736e-05/0.01131, allocations: 9.109 kB / 378.2 MB, free: 2.109 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.01131, allocations: 7.938 kB / 378.2 MB, free: 2.102 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.01132, allocations: 0 / 378.2 MB, free: 2.102 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.01132, allocations: 4 kB / 378.2 MB, free: 2.098 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.73e-05/0.01142, allocations: 144.5 kB / 378.3 MB, free: 1.922 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01142, allocations: 0 / 378.3 MB, free: 1.922 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.01142, allocations: 0 / 378.3 MB, free: 1.922 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.01142, allocations: 4 kB / 378.3 MB, free: 1.918 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.01143, allocations: 4 kB / 378.3 MB, free: 1.914 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.01143, allocations: 0 / 378.3 MB, free: 1.914 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.01144, allocations: 3.938 kB / 378.4 MB, free: 1.91 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/0.01175, allocations: 327.6 kB / 378.7 MB, free: 1.555 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.505e-05/0.01176, allocations: 15.92 kB / 378.7 MB, free: 1.539 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.01178, allocations: 4 kB / 378.7 MB, free: 1.535 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.076e-05/0.01181, allocations: 4 kB / 378.7 MB, free: 1.531 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.136e-05/0.01183, allocations: 7.938 kB / 378.7 MB, free: 1.523 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.01185, allocations: 8 kB / 378.7 MB, free: 1.516 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.84e-05/0.0119, allocations: 143.1 kB / 378.8 MB, free: 1.375 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0119, allocations: 0 / 378.8 MB, free: 1.375 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004176/0.01232, allocations: 131.8 kB / 379 MB, free: 1.246 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.0004085/0.01273, allocations: 209.3 kB / 379.2 MB, free: 1.035 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002986/0.01303, allocations: 278.4 kB / 379.5 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.01303, allocations: 0 / 379.5 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.01317, allocations: 192.7 kB / 379.6 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.0134, allocations: 19.98 kB / 379.7 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005043/0.01391, allocations: 368.2 kB / 380 MB, free: 108 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.886e-05/0.01396, allocations: 79.33 kB / 380.1 MB, free: 8 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.109e-05/0.01398, allocations: 4 kB / 380.1 MB, free: 4 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.984e-05/0.01401, allocations: 8.5 kB / 380.1 MB, free: 16 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01401, allocations: 0 / 380.1 MB, free: 16 MB / 362.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.8234113459475338]