Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 225.6 MB / 250.8 MB, free: 13.4 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1793/0.1793, allocations: 38.53 MB / 344.5 MB, free: 2.609 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 67.89 kB / 482.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.349, allocations: 61.24 MB / 0.5306 GB, free: 5.516 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.003115/0.3521, allocations: 2.174 MB / 0.5327 GB, free: 3.969 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002576/0.3547, allocations: 2.067 MB / 0.5347 GB, free: 2.598 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.671e-05/0.3547, allocations: 0 / 0.5347 GB, free: 2.598 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001341/0.3549, allocations: 15.31 kB / 0.5347 GB, free: 2.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.029e-05/0.355, allocations: 32.83 kB / 0.5348 GB, free: 2.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001913/0.3569, allocations: 0.8419 MB / 0.5356 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.357, allocations: 71.09 kB / 0.5357 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.357, allocations: 2.938 kB / 0.5357 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.108e-05/0.3571, allocations: 38.69 kB / 0.5357 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.008e-05/0.3572, allocations: 48.41 kB / 0.5358 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.3572, allocations: 2.75 kB / 0.5358 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001809/0.359, allocations: 1.612 MB / 0.5373 GB, free: 1.098 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.744e-05/0.359, allocations: 31.41 kB / 0.5374 GB, free: 1.082 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.923e-05/0.3591, allocations: 37.66 kB / 0.5374 GB, free: 1.055 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0012/0.3603, allocations: 1.352 MB / 0.5387 GB, free: 260 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3603, allocations: 0 / 0.5387 GB, free: 260 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3603, allocations: 0 / 0.5387 GB, free: 260 kB / 382.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.3603, allocations: 0 / 0.5387 GB, free: 260 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006721/0.361, allocations: 0.575 MB / 0.5393 GB, free: 15.71 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.361, allocations: 12.84 kB / 0.5393 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.133e-05/0.361, allocations: 18.34 kB / 0.5393 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.3613, allocations: 202.3 kB / 0.5395 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.3613, allocations: 1.312 kB / 0.5395 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.3613, allocations: 1.312 kB / 0.5395 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.3615, allocations: 99.25 kB / 0.5396 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.3615, allocations: 0 / 0.5396 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.3615, allocations: 1.125 kB / 0.5396 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.3615, allocations: 3.938 kB / 0.5396 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.999e-05/0.3616, allocations: 69.36 kB / 0.5397 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000213/0.3618, allocations: 193.1 kB / 0.5398 GB, free: 15.15 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.3619, allocations: 77.33 kB / 0.5399 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.141e-05/0.362, allocations: 61.8 kB / 0.54 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.089e-06/0.362, allocations: 0 / 0.54 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.362, allocations: 39.97 kB / 0.54 GB, free: 15.04 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 8.52e-07/0.362, allocations: 4 kB / 0.54 GB, free: 15.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0005178/0.3626, allocations: 319.3 kB / 0.5403 GB, free: 14.9 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.868e-05/0.3626, allocations: 95.06 kB / 0.5404 GB, free: 14.8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.3628, allocations: 158.8 kB / 0.5406 GB, free: 14.67 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.3628, allocations: 27.11 kB / 0.5406 GB, free: 14.64 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.886e-05/0.3629, allocations: 97.11 kB / 0.5407 GB, free: 14.55 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.2e-05/0.3629, allocations: 83.73 kB / 0.5408 GB, free: 14.47 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.184e-05/0.363, allocations: 28.86 kB / 0.5408 GB, free: 14.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.3632, allocations: 331.8 kB / 0.5411 GB, free: 14.12 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.519e-05/0.3632, allocations: 61.31 kB / 0.5412 GB, free: 14.1 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.106e-05/0.3633, allocations: 61.94 kB / 0.5412 GB, free: 14.08 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002536/0.3636, allocations: 254.2 kB / 0.5415 GB, free: 13.95 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3636, allocations: 0 / 0.5415 GB, free: 13.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002846/0.3639, allocations: 240.3 kB / 0.5417 GB, free: 13.83 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.417e-05/0.3639, allocations: 65.19 kB / 0.5418 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.3639, allocations: 0 / 0.5418 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.3639, allocations: 0 / 0.5418 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-07/0.364, allocations: 0.9688 kB / 0.5418 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.364, allocations: 4.062 kB / 0.5418 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.774e-05/0.364, allocations: 13.05 kB / 0.5418 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.616e-05/0.364, allocations: 6.594 kB / 0.5418 GB, free: 13.77 MB / 398.1 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.0001751/0.3642, allocations: 198.6 kB / 0.542 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.3642, allocations: 18.19 kB / 0.542 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.091e-05/0.3643, allocations: 12.38 kB / 0.542 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3643, allocations: 0 / 0.542 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.3643, allocations: 4 kB / 0.542 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3643, allocations: 1.594 kB / 0.542 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.3645, allocations: 214.4 kB / 0.5422 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3645, allocations: 0 / 0.5422 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.3645, allocations: 7.875 kB / 0.5422 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.3645, allocations: 1.188 kB / 0.5422 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.3645, allocations: 4.75 kB / 0.5422 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.3645, allocations: 0 / 0.5422 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3645, allocations: 1.125 kB / 0.5422 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006146/0.3651, allocations: 0.5206 MB / 0.5427 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.676e-05/0.3652, allocations: 97.58 kB / 0.5428 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.3652, allocations: 3.281 kB / 0.5428 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.668e-05/0.3652, allocations: 3.719 kB / 0.5428 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.34e-05/0.3652, allocations: 3.188 kB / 0.5428 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.3653, allocations: 6.094 kB / 0.5428 GB, free: 12.97 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.632e-05/0.3653, allocations: 119.5 kB / 0.543 GB, free: 12.88 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3653, allocations: 0 / 0.543 GB, free: 12.88 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009015/0.3662, allocations: 334.7 kB / 0.5433 GB, free: 12.83 MB / 398.1 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.0008804/0.3671, allocations: 384.6 kB / 0.5436 GB, free: 12.63 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005907/0.3677, allocations: 467.4 kB / 0.5441 GB, free: 12.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3677, allocations: 0 / 0.5441 GB, free: 12.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003362/0.3681, allocations: 318.2 kB / 0.5444 GB, free: 12.29 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.3683, allocations: 8.844 kB / 0.5444 GB, free: 12.29 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007145/0.369, allocations: 481.6 kB / 0.5449 GB, free: 12.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.3693, allocations: 0.7262 MB / 0.5456 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.26e-05/0.3693, allocations: 1.469 kB / 0.5456 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.367e-05/0.3694, allocations: 8.844 kB / 0.5456 GB, free: 11.29 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3694, allocations: 0 / 0.5456 GB, free: 11.29 MB / 398.1 MB [CodegenCFunctions.tpl:5647:13-5647: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.9908307790756226]