Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.00139/0.00139, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.00154/0.00154, allocations: 161.7 kB / 24.26 MB, free: 176 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.509/1.509, allocations: 177.2 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.3176/0.3176, allocations: 29.42 MB / 290.5 MB, free: 2.414 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_matrixTrDat3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 368.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.745e-05/2.963e-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.003652/0.003682, allocations: 2.211 MB / 371.1 MB, free: 9.051 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003601/0.007282, allocations: 1.894 MB / 373 MB, free: 7.148 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.845e-05/0.007341, allocations: 3.938 kB / 373 MB, free: 7.145 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001554/0.007496, allocations: 19.91 kB / 373 MB, free: 7.125 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.007598, allocations: 27.78 kB / 373.1 MB, free: 7.098 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002607/0.01021, allocations: 0.9584 MB / 374 MB, free: 6.137 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000136/0.01034, allocations: 83.62 kB / 374.1 MB, free: 6.055 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.498e-05/0.01038, allocations: 4.188 kB / 374.1 MB, free: 6.051 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001593/0.01054, allocations: 51.77 kB / 374.1 MB, free: 6 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.499e-05/0.01063, allocations: 51.86 kB / 374.2 MB, free: 5.949 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.01064, allocations: 0 / 374.2 MB, free: 5.949 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003168/0.01381, allocations: 1.898 MB / 376.1 MB, free: 4.047 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.687e-05/0.01389, allocations: 43.84 kB / 376.1 MB, free: 4.004 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.975e-05/0.01395, allocations: 31.88 kB / 376.2 MB, free: 3.973 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002126/0.01607, allocations: 1.535 MB / 377.7 MB, free: 2.434 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.01608, allocations: 0 / 377.7 MB, free: 2.434 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.01608, allocations: 0 / 377.7 MB, free: 2.434 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.01609, allocations: 0 / 377.7 MB, free: 2.434 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.0008015/0.01689, allocations: 0.5446 MB / 378.3 MB, free: 1.852 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.01693, allocations: 11.98 kB / 378.3 MB, free: 1.84 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.978e-05/0.017, allocations: 24.78 kB / 378.3 MB, free: 1.816 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002279/0.01722, allocations: 153.4 kB / 378.4 MB, free: 1.641 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.01723, allocations: 384 / 378.4 MB, free: 1.641 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.01725, allocations: 11.94 kB / 378.4 MB, free: 1.629 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000334/0.01758, allocations: 228.2 kB / 378.7 MB, free: 1.395 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.01759, allocations: 4 kB / 378.7 MB, free: 1.391 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.01761, allocations: 0 / 378.7 MB, free: 1.391 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.768e-06/0.01761, allocations: 0 / 378.7 MB, free: 1.391 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000216/0.01783, allocations: 189.9 kB / 378.9 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001839/0.01801, allocations: 141.8 kB / 379 MB, free: 1.031 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002601/0.01827, allocations: 204.5 kB / 379.2 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002198/0.01849, allocations: 190.8 kB / 379.4 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.0185, allocations: 11.92 kB / 379.4 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.01854, allocations: 34.56 kB / 379.4 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of pre-optimization done (n=40): time 7.32e-07/0.01854, allocations: 4 kB / 379.4 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.001019/0.01956, allocations: 0.7015 MB / 380.1 MB, free: 15.83 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.111e-05/0.01965, allocations: 109.1 kB / 380.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.01982, allocations: 166.3 kB / 380.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.01984, allocations: 25.7 kB / 380.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.771e-05/0.01992, allocations: 104.8 kB / 380.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.02006, allocations: 134.7 kB / 380.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.2e-05/0.02012, allocations: 33.7 kB / 380.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.02031, allocations: 338.8 kB / 381 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002157/0.02053, allocations: 185.6 kB / 381.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/0.02073, allocations: 198.6 kB / 381.4 MB, free: 14.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005179/0.02125, allocations: 444.2 kB / 381.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.02125, allocations: 0 / 381.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000574/0.02183, allocations: 468.7 kB / 382.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.02193, allocations: 93.56 kB / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.02194, allocations: 0 / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/0.02196, allocations: 0 / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.02196, allocations: 0 / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.02197, allocations: 0 / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.431e-05/0.02205, allocations: 23.78 kB / 382.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.408e-05/0.02209, allocations: 8 kB / 382.4 MB, free: 13.45 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.000235/0.02232, allocations: 235.5 kB / 382.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.17e-05/0.02238, allocations: 39.8 kB / 382.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.776e-05/0.02241, allocations: 18.64 kB / 382.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.02241, allocations: 4 kB / 382.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.02242, allocations: 4 kB / 382.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.02242, allocations: 0 / 382.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.02259, allocations: 153.1 kB / 382.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.02259, allocations: 0 / 382.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.02259, allocations: 0 / 382.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.02259, allocations: 3.938 kB / 382.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.288e-05/0.02261, allocations: 15.94 kB / 382.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.02261, allocations: 0 / 382.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.02262, allocations: 0 / 382.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.02364, allocations: 0.7811 MB / 383.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.223e-05/0.02368, allocations: 27.73 kB / 383.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.357e-05/0.02371, allocations: 7.938 kB / 383.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.277e-05/0.02376, allocations: 8 kB / 383.7 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.0238, allocations: 8 kB / 383.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.752e-05/0.02383, allocations: 8 kB / 383.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001153/0.02395, allocations: 132.2 kB / 383.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02395, allocations: 0 / 383.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001084/0.02503, allocations: 355.4 kB / 384.2 MB, free: 11.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.001053/0.02608, allocations: 417.7 kB / 384.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009946/0.02708, allocations: 0.7601 MB / 385.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.02708, allocations: 0 / 385.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005045/0.02758, allocations: 432.9 kB / 385.8 MB, free: 9.949 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.02782, allocations: 24.12 kB / 385.8 MB, free: 9.926 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.02892, allocations: 0.7643 MB / 386.6 MB, free: 9.133 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001545/0.02908, allocations: 147.7 kB / 386.7 MB, free: 8.969 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.131e-05/0.02909, allocations: 0 / 386.7 MB, free: 8.969 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.737e-05/0.02911, allocations: 8.5 kB / 386.7 MB, free: 8.961 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.02911, allocations: 0 / 386.7 MB, free: 8.961 MB / 362.7 MB [CodegenCFunctions.tpl:5860:13-5860: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.4795008699875325]