Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.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: 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.001387/0.001387, allocations: 161.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.9888/0.9888, allocations: 177.1 MB / 205 MB, free: 5.625 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.2236/0.2236, allocations: 29.42 MB / 290.9 MB, free: 2.523 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.Z_matrixTrDat0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.112e-05/3.314e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.01018/0.01021, allocations: 2.269 MB / 371.9 MB, free: 8.711 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006516/0.01673, allocations: 1.965 MB / 373.9 MB, free: 6.738 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.197e-05/0.01682, allocations: 3.938 kB / 373.9 MB, free: 6.734 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002142/0.01704, allocations: 7.922 kB / 373.9 MB, free: 6.727 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.01716, allocations: 31.78 kB / 373.9 MB, free: 6.695 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006066/0.02322, allocations: 0.9818 MB / 374.9 MB, free: 5.711 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.02339, allocations: 83.56 kB / 375 MB, free: 5.629 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.437e-05/0.02344, allocations: 4.188 kB / 375 MB, free: 5.625 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001907/0.02363, allocations: 39.89 kB / 375 MB, free: 5.586 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.02373, allocations: 43.88 kB / 375.1 MB, free: 5.543 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.02374, allocations: 0 / 375.1 MB, free: 5.543 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006678/0.03042, allocations: 1.909 MB / 377 MB, free: 3.629 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.766e-05/0.03048, allocations: 15.92 kB / 377 MB, free: 3.613 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.092e-05/0.03053, allocations: 15.94 kB / 377 MB, free: 3.598 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005939/0.03647, allocations: 1.473 MB / 378.5 MB, free: 2.121 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.994e-06/0.03648, allocations: 4 kB / 378.5 MB, free: 2.117 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.03648, allocations: 0 / 378.5 MB, free: 2.117 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.03649, allocations: 0 / 378.5 MB, free: 2.117 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.003996/0.04048, allocations: 0.5243 MB / 379 MB, free: 1.551 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.04053, allocations: 15.92 kB / 379 MB, free: 1.535 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.156e-05/0.04061, allocations: 8.891 kB / 379 MB, free: 1.527 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.04079, allocations: 136.5 kB / 379.2 MB, free: 1.367 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.04081, allocations: 7.938 kB / 379.2 MB, free: 1.359 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.04082, allocations: 0 / 379.2 MB, free: 1.359 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.04098, allocations: 75.31 kB / 379.3 MB, free: 1.273 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.04098, allocations: 0 / 379.3 MB, free: 1.273 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.041, allocations: 4 kB / 379.3 MB, free: 1.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.04101, allocations: 0 / 379.3 MB, free: 1.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.846e-05/0.04106, allocations: 37.7 kB / 379.3 MB, free: 1.227 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001325/0.04119, allocations: 120.6 kB / 379.4 MB, free: 1.074 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.198e-05/0.04127, allocations: 68.69 kB / 379.5 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.619e-05/0.04132, allocations: 57.41 kB / 379.5 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.453e-06/0.04132, allocations: 3.938 kB / 379.5 MB, free: 0.918 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.04135, allocations: 33.39 kB / 379.6 MB, free: 0.875 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.784e-06/0.04135, allocations: 0 / 379.6 MB, free: 0.875 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002607/0.04161, allocations: 170.7 kB / 379.7 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.04166, allocations: 85.11 kB / 379.8 MB, free: 0.582 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.04179, allocations: 181.9 kB / 380 MB, free: 396 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.0418, allocations: 25.7 kB / 380 MB, free: 364 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.947e-05/0.04185, allocations: 135 kB / 380.2 MB, free: 224 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.113e-05/0.04189, allocations: 35.72 kB / 380.2 MB, free: 188 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.915e-05/0.04193, allocations: 27.41 kB / 380.2 MB, free: 152 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.04208, allocations: 0.4962 MB / 380.7 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.784e-05/0.04213, allocations: 41.69 kB / 380.8 MB, free: 15.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.078e-05/0.04216, allocations: 37.64 kB / 380.8 MB, free: 15.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.191e-05/0.04225, allocations: 103.4 kB / 380.9 MB, free: 15.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.04225, allocations: 0 / 380.9 MB, free: 15.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001429/0.0424, allocations: 133 kB / 381 MB, free: 15.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.582e-05/0.04244, allocations: 41.69 kB / 381.1 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.04245, allocations: 0 / 381.1 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.04246, allocations: 0 / 381.1 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.168e-06/0.04247, allocations: 0 / 381.1 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.04247, allocations: 12 kB / 381.1 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.34e-05/0.04252, allocations: 0 / 381.1 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.04254, allocations: 7.984 kB / 381.1 MB, free: 15.22 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 0.0001153/0.04265, allocations: 202.1 kB / 381.3 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002072/0.04472, allocations: 15.89 kB / 381.3 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.476e-05/0.04476, allocations: 12.44 kB / 381.3 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.04476, allocations: 0 / 381.3 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.04477, allocations: 0 / 381.3 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.04477, allocations: 0 / 381.3 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.04488, allocations: 120.6 kB / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.04488, allocations: 7.984 kB / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.324e-06/0.04489, allocations: 3.938 kB / 381.4 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.04489, allocations: 0 / 381.4 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.0449, allocations: 8 kB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.04491, allocations: 0 / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.04491, allocations: 0 / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002109/0.04512, allocations: 191.8 kB / 381.6 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.203e-05/0.04513, allocations: 11.89 kB / 381.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.04514, allocations: 0 / 381.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.087e-05/0.04517, allocations: 4 kB / 381.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.517e-05/0.04519, allocations: 0 / 381.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.0452, allocations: 11.97 kB / 381.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.434e-05/0.04526, allocations: 138.5 kB / 381.8 MB, free: 14.42 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04526, allocations: 0 / 381.8 MB, free: 14.42 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007717/0.04604, allocations: 323.3 kB / 382.1 MB, free: 14.11 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.0007362/0.04677, allocations: 410.1 kB / 382.5 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001782/0.04695, allocations: 178.5 kB / 382.7 MB, free: 13.49 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.04695, allocations: 4.062 kB / 382.7 MB, free: 13.49 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.092e-05/0.04701, allocations: 124.8 kB / 382.8 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.04717, allocations: 10.92 kB / 382.8 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005418/0.04772, allocations: 251.2 kB / 383.1 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.58e-05/0.04775, allocations: 63.34 kB / 383.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.291e-05/0.04776, allocations: 0 / 383.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.428e-05/0.04778, allocations: 16.56 kB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.04778, allocations: 0 / 383.1 MB, free: 12.96 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.857160328887403]