Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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.002396/0.002396, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002786/0.002786, allocations: 169.3 kB / 24.28 MB, free: 152 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 1.543/1.543, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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.317/0.317, allocations: 29.41 MB / 290.5 MB, free: 2.438 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.Z_matrixTrDat3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_d.4.|zr_q.1.|zr_q.2.|zr_q.3.|zr_q.4.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_d.4.|zr_q.1.|zr_q.2.|zr_q.3.|zr_q.4.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 368.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.313e-05/3.513e-05, allocations: 2.312 kB / 368.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.004095/0.00413, allocations: 2.223 MB / 371.1 MB, free: 9.043 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003764/0.007894, allocations: 1.953 MB / 373.1 MB, free: 7.078 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.129e-05/0.007955, allocations: 4 kB / 373.1 MB, free: 7.074 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001517/0.008107, allocations: 11.91 kB / 373.1 MB, free: 7.062 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.008208, allocations: 27.84 kB / 373.1 MB, free: 7.035 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002802/0.01101, allocations: 0.9817 MB / 374.1 MB, free: 6.051 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.01117, allocations: 83.62 kB / 374.2 MB, free: 5.969 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.978e-05/0.01121, allocations: 192 / 374.2 MB, free: 5.969 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.01139, allocations: 43.83 kB / 374.2 MB, free: 5.926 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.01149, allocations: 51.86 kB / 374.3 MB, free: 5.875 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.01151, allocations: 4 kB / 374.3 MB, free: 5.871 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003378/0.01489, allocations: 1.894 MB / 376.2 MB, free: 3.973 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.942e-05/0.01497, allocations: 47.84 kB / 376.2 MB, free: 3.926 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.468e-05/0.01503, allocations: 31.86 kB / 376.3 MB, free: 3.895 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00247/0.0175, allocations: 1.535 MB / 377.8 MB, free: 2.355 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.01751, allocations: 0 / 377.8 MB, free: 2.355 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.01751, allocations: 0 / 377.8 MB, free: 2.355 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.01752, allocations: 0 / 377.8 MB, free: 2.355 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0008749/0.01839, allocations: 0.6442 MB / 378.4 MB, free: 1.668 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.01843, allocations: 11.98 kB / 378.4 MB, free: 1.656 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.048e-05/0.01851, allocations: 20.8 kB / 378.5 MB, free: 1.637 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/0.01873, allocations: 164.2 kB / 378.6 MB, free: 1.449 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.01874, allocations: 384 / 378.6 MB, free: 1.449 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.01876, allocations: 7.938 kB / 378.6 MB, free: 1.441 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.01897, allocations: 117.3 kB / 378.7 MB, free: 1.312 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.01898, allocations: 0 / 378.7 MB, free: 1.312 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.01899, allocations: 4 kB / 378.8 MB, free: 1.309 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.019, allocations: 0 / 378.8 MB, free: 1.309 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.01911, allocations: 86 kB / 378.8 MB, free: 1.219 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001819/0.0193, allocations: 145.1 kB / 379 MB, free: 1.043 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.01946, allocations: 117 kB / 379.1 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.01957, allocations: 89.73 kB / 379.2 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.01959, allocations: 3.938 kB / 379.2 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.01962, allocations: 37.39 kB / 379.2 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of pre-optimization done (n=40): time 1.082e-06/0.01962, allocations: 0 / 379.2 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.0006448/0.02027, allocations: 446.5 kB / 379.7 MB, free: 308 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.564e-05/0.02035, allocations: 105.1 kB / 379.8 MB, free: 184 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00022/0.02057, allocations: 222 kB / 380 MB, free: 15.94 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.0206, allocations: 33.64 kB / 380 MB, free: 15.9 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.0207, allocations: 155.5 kB / 380.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001449/0.02085, allocations: 134.7 kB / 380.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.92e-05/0.02093, allocations: 47.36 kB / 380.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002941/0.02122, allocations: 0.5157 MB / 380.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.02133, allocations: 77.69 kB / 380.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.965e-05/0.02143, allocations: 90.69 kB / 381 MB, free: 14.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002581/0.02168, allocations: 215.2 kB / 381.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.02169, allocations: 0 / 381.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004/0.02209, allocations: 308.7 kB / 381.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001009/0.02219, allocations: 81.62 kB / 381.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.02219, allocations: 0 / 381.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.02221, allocations: 3.938 kB / 381.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.176e-06/0.02221, allocations: 7.938 kB / 381.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.337e-06/0.02221, allocations: 0 / 381.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.198e-05/0.02228, allocations: 23.78 kB / 381.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.343e-05/0.02232, allocations: 8 kB / 381.7 MB, free: 14.18 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.0002191/0.02254, allocations: 246.3 kB / 381.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.085e-05/0.0226, allocations: 39.8 kB / 381.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.031e-05/0.02262, allocations: 10.66 kB / 381.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.02262, allocations: 3.984 kB / 381.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.02262, allocations: 0 / 381.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.02263, allocations: 0 / 381.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.02281, allocations: 168.4 kB / 382.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.02282, allocations: 0 / 382.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-07/0.02282, allocations: 0 / 382.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.02282, allocations: 3.938 kB / 382.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.02284, allocations: 12 kB / 382.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.02284, allocations: 0 / 382.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.02284, allocations: 0 / 382.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006655/0.02351, allocations: 479.5 kB / 382.6 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.51e-05/0.02354, allocations: 23.73 kB / 382.6 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.781e-05/0.02358, allocations: 11.94 kB / 382.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.137e-05/0.02363, allocations: 8 kB / 382.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-05/0.02366, allocations: 7.984 kB / 382.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/0.02369, allocations: 8 kB / 382.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001296/0.02382, allocations: 168.2 kB / 382.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02382, allocations: 0 / 382.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009292/0.02475, allocations: 351.4 kB / 383.2 MB, free: 12.59 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.001086/0.02584, allocations: 430.1 kB / 383.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008885/0.02672, allocations: 450.3 kB / 384 MB, free: 11.69 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.02673, allocations: 0 / 384 MB, free: 11.69 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003634/0.02709, allocations: 316.6 kB / 384.3 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.02731, allocations: 26.8 kB / 384.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008611/0.02817, allocations: 0.5316 MB / 384.9 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001493/0.02832, allocations: 131.8 kB / 385 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.044e-05/0.02833, allocations: 0 / 385 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.138e-05/0.02835, allocations: 12.5 kB / 385 MB, free: 10.61 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.02835, allocations: 0 / 385 MB, free: 10.61 MB / 362.7 MB [CodegenCFunctions.tpl:5886:13-5886: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: 2.6043989759637043]