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.0009603/0.0009603, allocations: 75.75 kB / 21.69 MB, free: 2.852 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.0009328/0.0009328, allocations: 162.3 kB / 24.99 MB, free: 8.785 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.064/1.064, allocations: 177.1 MB / 205.3 MB, free: 5.648 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.2343/0.2343, allocations: 29.41 MB / 291.2 MB, free: 2.508 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.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.653e-06/1.653e-06, allocations: 0 / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.551e-05/2.716e-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.003223/0.003251, allocations: 2.319 MB / 372 MB, free: 8.973 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00158/0.004831, allocations: 1.059 MB / 373 MB, free: 7.914 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.799e-05/0.004899, allocations: 3.938 kB / 373 MB, free: 7.91 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001408/0.00504, allocations: 11.91 kB / 373 MB, free: 7.898 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001285/0.005168, allocations: 55.67 kB / 373.1 MB, free: 7.844 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.006199, allocations: 342.8 kB / 373.4 MB, free: 7.508 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.006379, allocations: 115.5 kB / 373.5 MB, free: 7.395 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.512e-05/0.006424, allocations: 3.984 kB / 373.5 MB, free: 7.391 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001843/0.006608, allocations: 67.8 kB / 373.6 MB, free: 7.324 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.006727, allocations: 67.77 kB / 373.7 MB, free: 7.258 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.006742, allocations: 7.938 kB / 373.7 MB, free: 7.25 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008782/0.00762, allocations: 0.5649 MB / 374.2 MB, free: 6.684 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.379e-05/0.007694, allocations: 39.89 kB / 374.3 MB, free: 6.645 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.976e-05/0.007744, allocations: 23.94 kB / 374.3 MB, free: 6.621 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007607/0.008504, allocations: 0.5649 MB / 374.9 MB, free: 6.055 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.008508, allocations: 4 kB / 374.9 MB, free: 6.051 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.008509, allocations: 0 / 374.9 MB, free: 6.051 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.008514, allocations: 0 / 374.9 MB, free: 6.051 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.000494/0.009008, allocations: 493.4 kB / 375.4 MB, free: 5.527 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.009048, allocations: 8.031 kB / 375.4 MB, free: 5.52 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.588e-05/0.009104, allocations: 16.84 kB / 375.4 MB, free: 5.504 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.009276, allocations: 136.4 kB / 375.5 MB, free: 5.344 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.009287, allocations: 384 / 375.5 MB, free: 5.344 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.0093, allocations: 4.375 kB / 375.5 MB, free: 5.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.009458, allocations: 103.9 kB / 375.6 MB, free: 5.227 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.009466, allocations: 7.938 kB / 375.6 MB, free: 5.219 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.009477, allocations: 0 / 375.6 MB, free: 5.219 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.009486, allocations: 3.984 kB / 375.6 MB, free: 5.215 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.736e-05/0.009553, allocations: 61.69 kB / 375.7 MB, free: 5.148 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001354/0.009688, allocations: 132.5 kB / 375.8 MB, free: 4.984 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.00979, allocations: 92.69 kB / 375.9 MB, free: 4.875 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.652e-05/0.009856, allocations: 69.41 kB / 376 MB, free: 4.797 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.49e-06/0.009862, allocations: 3.984 kB / 376 MB, free: 4.793 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.009889, allocations: 41.39 kB / 376 MB, free: 4.742 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 1.473e-06/0.009891, allocations: 0 / 376 MB, free: 4.742 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003585/0.01025, allocations: 286.9 kB / 376.3 MB, free: 4.438 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.0103, allocations: 97.09 kB / 376.4 MB, free: 4.324 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.01042, allocations: 189.8 kB / 376.6 MB, free: 4.121 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.01043, allocations: 25.7 kB / 376.6 MB, free: 4.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.424e-05/0.01049, allocations: 139.2 kB / 376.7 MB, free: 3.949 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.132e-05/0.01055, allocations: 67.42 kB / 376.8 MB, free: 3.883 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.931e-05/0.0106, allocations: 39.36 kB / 376.9 MB, free: 3.836 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.01074, allocations: 0.4923 MB / 377.3 MB, free: 3.332 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.932e-05/0.01081, allocations: 65.62 kB / 377.4 MB, free: 3.262 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.181e-05/0.01088, allocations: 69.62 kB / 377.5 MB, free: 3.188 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.01102, allocations: 152.4 kB / 377.6 MB, free: 3.023 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.01102, allocations: 4.062 kB / 377.6 MB, free: 3.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002171/0.01124, allocations: 208.2 kB / 377.8 MB, free: 2.801 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.372e-05/0.0113, allocations: 53.67 kB / 377.9 MB, free: 2.742 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.0113, allocations: 0 / 377.9 MB, free: 2.742 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.01131, allocations: 7.875 kB / 377.9 MB, free: 2.734 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.01132, allocations: 0 / 377.9 MB, free: 2.734 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.01132, allocations: 0 / 377.9 MB, free: 2.734 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.79e-05/0.01138, allocations: 19.89 kB / 377.9 MB, free: 2.715 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.0114, allocations: 4 kB / 377.9 MB, free: 2.711 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.000122/0.01152, allocations: 214.2 kB / 378.1 MB, free: 2.484 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/0.01155, allocations: 23.98 kB / 378.1 MB, free: 2.461 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.162e-05/0.01157, allocations: 9.125 kB / 378.2 MB, free: 2.453 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.165e-06/0.01157, allocations: 3.938 kB / 378.2 MB, free: 2.449 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.01158, allocations: 4 kB / 378.2 MB, free: 2.445 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.01158, allocations: 0 / 378.2 MB, free: 2.445 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.01169, allocations: 132.6 kB / 378.3 MB, free: 2.281 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.01169, allocations: 0 / 378.3 MB, free: 2.281 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.773e-06/0.01169, allocations: 4 kB / 378.3 MB, free: 2.277 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.01169, allocations: 0 / 378.3 MB, free: 2.277 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.01171, allocations: 8 kB / 378.3 MB, free: 2.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.01171, allocations: 0 / 378.3 MB, free: 2.27 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.01171, allocations: 7.938 kB / 378.3 MB, free: 2.262 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003464/0.01206, allocations: 323.6 kB / 378.6 MB, free: 1.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.588e-05/0.01207, allocations: 11.89 kB / 378.6 MB, free: 1.898 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.0121, allocations: 4 kB / 378.6 MB, free: 1.895 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.068e-05/0.01214, allocations: 4 kB / 378.6 MB, free: 1.891 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.36e-05/0.01216, allocations: 11.94 kB / 378.7 MB, free: 1.879 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.01218, allocations: 7.984 kB / 378.7 MB, free: 1.871 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.817e-05/0.01224, allocations: 145.6 kB / 378.8 MB, free: 1.73 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.01224, allocations: 0 / 378.8 MB, free: 1.73 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004756/0.01272, allocations: 135.8 kB / 378.9 MB, free: 1.598 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.0004328/0.01315, allocations: 202.6 kB / 379.1 MB, free: 1.391 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003551/0.01351, allocations: 286.4 kB / 379.4 MB, free: 1.082 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01351, allocations: 4 kB / 379.4 MB, free: 1.078 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001706/0.01368, allocations: 184.7 kB / 379.6 MB, free: 0.875 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.01393, allocations: 19.5 kB / 379.6 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005762/0.0145, allocations: 374.8 kB / 380 MB, free: 468 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.498e-05/0.01456, allocations: 79.33 kB / 380.1 MB, free: 368 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.362e-05/0.01458, allocations: 3.984 kB / 380.1 MB, free: 364 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.664e-05/0.0146, allocations: 8.5 kB / 380.1 MB, free: 356 kB / 346.7 MB Notification: Performance of SimCode: time 6.91e-07/0.0146, allocations: 0 / 380.1 MB, free: 356 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.9518695999868214]