Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.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.00129/0.00129, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.9296/0.9296, allocations: 177.2 MB / 200 MB, free: 5.844 MB / 186.7 MB " [Timeout remaining time 179] 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.001442/0.001442, allocations: 168.5 kB / 256.6 MB, free: 13.15 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2877/0.2877, allocations: 80.23 MB / 393.4 MB, free: 2.191 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0.7656 kB / 489.8 MB, free: 11.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.193e-05/2.339e-05, allocations: 5.844 kB / 489.8 MB, free: 11.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.006667/0.006691, allocations: 6.372 MB / 496.2 MB, free: 5.176 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002788/0.009479, allocations: 1.994 MB / 498.2 MB, free: 3.188 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002772/0.009756, allocations: 16.78 kB / 498.2 MB, free: 3.172 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005033/0.01026, allocations: 241.8 kB / 498.4 MB, free: 2.934 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001144/0.0114, allocations: 0.8866 MB / 499.3 MB, free: 2.051 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007167/0.01212, allocations: 0.6496 MB / 500 MB, free: 1.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000998/0.01312, allocations: 1.639 MB / 0.4898 GB, free: 15.77 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002656/0.01338, allocations: 203.5 kB / 0.49 GB, free: 15.55 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006877/0.01407, allocations: 0.945 MB / 0.491 GB, free: 14.61 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005568/0.01463, allocations: 0.6971 MB / 0.4916 GB, free: 13.91 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.01476, allocations: 132 kB / 0.4918 GB, free: 13.78 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003034/0.01506, allocations: 275.8 kB / 0.492 GB, free: 13.51 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002072/0.01527, allocations: 354.4 kB / 0.4924 GB, free: 13.16 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002988/0.01556, allocations: 475.6 kB / 0.4928 GB, free: 12.7 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009489/0.01651, allocations: 1.253 MB / 0.494 GB, free: 11.44 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.01652, allocations: 0 / 0.494 GB, free: 11.44 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.01652, allocations: 1.938 kB / 0.494 GB, free: 11.44 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.01653, allocations: 0 / 0.494 GB, free: 11.44 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.004619/0.02115, allocations: 2.979 MB / 0.497 GB, free: 8.43 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.02119, allocations: 12.03 kB / 0.497 GB, free: 8.418 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002628/0.02382, allocations: 0.9366 MB / 0.4979 GB, free: 7.484 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008991/0.02472, allocations: 0.8228 MB / 0.4987 GB, free: 6.621 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001929/0.02491, allocations: 329.3 kB / 0.499 GB, free: 6.246 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.02503, allocations: 87.95 kB / 0.4991 GB, free: 6.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000978/0.026, allocations: 0.7617 MB / 0.4998 GB, free: 5.375 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.02602, allocations: 4 kB / 0.4998 GB, free: 5.371 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.34e-05/0.02608, allocations: 31.98 kB / 0.4999 GB, free: 5.34 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.0261, allocations: 23.94 kB / 0.4999 GB, free: 5.316 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007512/0.02685, allocations: 0.4895 MB / 0.5004 GB, free: 4.82 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00342/0.03027, allocations: 2.733 MB / 0.503 GB, free: 2.016 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002528/0.0328, allocations: 1.259 MB / 0.5043 GB, free: 0.7188 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004193/0.03322, allocations: 335.9 kB / 0.5046 GB, free: 388 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.555e-05/0.03329, allocations: 25 kB / 0.5046 GB, free: 364 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006018/0.0339, allocations: 0.5376 MB / 0.5051 GB, free: 15.79 MB / 442.7 MB Notification: Performance of pre-optimization done (n=97): time 1.844e-06/0.0339, allocations: 0 / 0.5051 GB, free: 15.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=97): time 0.01141/0.04531, allocations: 5.098 MB / 0.5101 GB, free: 10.65 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.04536, allocations: 123.8 kB / 0.5102 GB, free: 10.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000763/0.04612, allocations: 1.004 MB / 0.5112 GB, free: 9.484 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.055e-05/0.04618, allocations: 49.69 kB / 0.5113 GB, free: 9.43 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002705/0.04645, allocations: 0.5548 MB / 0.5118 GB, free: 8.867 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002068/0.04666, allocations: 376.9 kB / 0.5122 GB, free: 8.496 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003192/0.04698, allocations: 293.1 kB / 0.5124 GB, free: 8.203 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.605e-05/0.04707, allocations: 484.7 kB / 0.5129 GB, free: 7.727 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005702/0.04764, allocations: 443.2 kB / 0.5133 GB, free: 7.281 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006643/0.04831, allocations: 0.6436 MB / 0.5139 GB, free: 6.574 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001844/0.05015, allocations: 1.661 MB / 0.5156 GB, free: 4.828 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.05016, allocations: 0 / 0.5156 GB, free: 4.828 MB / 442.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005401/0.05556, allocations: 3.118 MB / 0.5186 GB, free: 1.668 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.685e-05/0.05559, allocations: 62.06 kB / 0.5187 GB, free: 1.598 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.0556, allocations: 4 kB / 0.5187 GB, free: 1.594 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004278/0.05988, allocations: 1.668 MB / 0.5203 GB, free: 15.92 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006713/0.06055, allocations: 275.6 kB / 0.5206 GB, free: 15.65 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006567/0.06712, allocations: 4.535 MB / 0.525 GB, free: 10.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006698/0.06779, allocations: 171.1 kB / 0.5252 GB, free: 10.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.559e-05/0.06786, allocations: 51.98 kB / 0.5252 GB, free: 10.77 MB / 458.7 MB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 159 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003056/0.06817, allocations: 278.8 kB / 0.5255 GB, free: 10.48 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001719/0.06834, allocations: 167.1 kB / 0.5256 GB, free: 10.32 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004682/0.07302, allocations: 2.6 MB / 0.5282 GB, free: 7.684 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.07303, allocations: 8 kB / 0.5282 GB, free: 7.676 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.07303, allocations: 8 kB / 0.5282 GB, free: 7.668 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.07304, allocations: 7.984 kB / 0.5282 GB, free: 7.66 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005707/0.07875, allocations: 3.675 MB / 0.5318 GB, free: 3.918 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.07875, allocations: 0 / 0.5318 GB, free: 3.918 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002955/0.07905, allocations: 99.89 kB / 0.5319 GB, free: 3.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004017/0.08306, allocations: 1.636 MB / 0.5335 GB, free: 2.176 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.942e-05/0.08312, allocations: 20 kB / 0.5335 GB, free: 2.156 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00678/0.0899, allocations: 6.42 MB / 0.5398 GB, free: 11.47 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.08991, allocations: 8 kB / 0.5398 GB, free: 11.46 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005283/0.09519, allocations: 3.054 MB / 0.5428 GB, free: 8.359 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001733/0.09536, allocations: 166.8 kB / 0.5429 GB, free: 8.195 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.09546, allocations: 16 kB / 0.5429 GB, free: 8.18 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004714/0.09594, allocations: 79.92 kB / 0.543 GB, free: 8.102 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003214/0.09626, allocations: 196.6 kB / 0.5432 GB, free: 7.91 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.887e-05/0.09631, allocations: 23.98 kB / 0.5432 GB, free: 7.887 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005357/0.09684, allocations: 0.6373 MB / 0.5438 GB, free: 7.242 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.09684, allocations: 4 kB / 0.5438 GB, free: 7.238 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001015/0.09786, allocations: 487.6 kB / 0.5443 GB, free: 6.762 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002442/0.0981, allocations: 139.7 kB / 0.5444 GB, free: 6.617 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002763/0.1009, allocations: 1.859 MB / 0.5463 GB, free: 4.691 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1009, allocations: 0 / 0.5463 GB, free: 4.691 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00195/0.1028, allocations: 1.298 MB / 0.5475 GB, free: 3.332 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005076/0.1033, allocations: 132.4 kB / 0.5477 GB, free: 3.199 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002742/0.1061, allocations: 2.156 MB / 0.5498 GB, free: 1 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001734/0.1062, allocations: 241.6 kB / 0.55 GB, free: 0.7422 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000226/0.1065, allocations: 116.1 kB / 0.5501 GB, free: 0.625 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002021/0.1067, allocations: 84.47 kB / 0.5502 GB, free: 0.543 MB / 474.7 MB Notification: Performance of SimCode: time 7.22e-07/0.1067, allocations: 0 / 0.5502 GB, free: 0.543 MB / 474.7 MB Notification: Performance of Templates: time 0.02693/0.1336, allocations: 27.67 MB / 0.5772 GB, free: 4.973 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.165733604226261]