Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.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.001273/0.001273, allocations: 111.2 kB / 17.61 MB, free: 4.703 MB / 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.398/1.398, allocations: 225.6 MB / 246.2 MB, free: 13.59 MB / 206.1 MB " [Timeout remaining time 178] 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.001502/0.001502, allocations: 201.2 kB / 301.4 MB, free: 9.105 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5146/0.5146, allocations: 94.16 MB / 450.7 MB, free: 9.594 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003759/0.003759, allocations: 87.8 kB / 0.6025 GB, free: 14.91 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1874, allocations: 75.54 MB / 0.6763 GB, free: 3.215 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.01548/0.2028, allocations: 13.79 MB / 0.6897 GB, free: 5.371 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008527/0.2114, allocations: 3.491 MB / 0.6931 GB, free: 1.863 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002585/0.214, allocations: 28 kB / 0.6932 GB, free: 1.836 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00214/0.2161, allocations: 0.5615 MB / 0.6937 GB, free: 1.27 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3673/0.5833, allocations: 1.558 MB / 0.6952 GB, free: 9.598 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004334/0.5877, allocations: 1.519 MB / 0.6967 GB, free: 9.59 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006236/0.5939, allocations: 3.716 MB / 0.7003 GB, free: 9.586 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001285/0.5952, allocations: 0.613 MB / 0.7009 GB, free: 9.43 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003125/0.5983, allocations: 1.529 MB / 0.7024 GB, free: 9.141 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003652/0.602, allocations: 1.98 MB / 0.7044 GB, free: 8.746 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001515/0.6035, allocations: 286.5 kB / 0.7046 GB, free: 8.746 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001898/0.6054, allocations: 430.6 kB / 0.7051 GB, free: 8.738 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007791/0.6062, allocations: 0.7673 MB / 0.7058 GB, free: 8.605 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001926/0.6081, allocations: 1.632 MB / 0.7074 GB, free: 8.078 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007772/0.6159, allocations: 3.988 MB / 0.7113 GB, free: 6.734 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.6159, allocations: 0 / 0.7113 GB, free: 6.734 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.6159, allocations: 0.6875 kB / 0.7113 GB, free: 6.734 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002069/0.6161, allocations: 4 kB / 0.7113 GB, free: 6.73 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.02799/0.6441, allocations: 6.687 MB / 0.7178 GB, free: 4.07 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.672e-05/0.6441, allocations: 10.78 kB / 0.7178 GB, free: 4.07 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01568/0.6598, allocations: 2.288 MB / 0.7201 GB, free: 3.664 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005867/0.6657, allocations: 1.891 MB / 0.7219 GB, free: 2.598 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007857/0.6665, allocations: 0.7267 MB / 0.7226 GB, free: 1.941 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009624/0.6674, allocations: 217.8 kB / 0.7228 GB, free: 1.871 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007024/0.6745, allocations: 3.035 MB / 0.7258 GB, free: 328 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.346e-05/0.6745, allocations: 0 / 0.7258 GB, free: 328 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002588/0.6748, allocations: 83.94 kB / 0.7259 GB, free: 264 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.446e-05/0.6748, allocations: 49.12 kB / 0.7259 GB, free: 264 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006542/0.6814, allocations: 2.784 MB / 0.7286 GB, free: 14.92 MB / 0.4981 GB 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.02177/0.7031, allocations: 9.866 MB / 0.7383 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01103/0.7141, allocations: 3.968 MB / 0.7422 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004604/0.7188, allocations: 1.769 MB / 0.7439 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003822/0.7191, allocations: 45.08 kB / 0.7439 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005207/0.7243, allocations: 2.236 MB / 0.7461 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=248): time 4.839e-06/0.7243, allocations: 0 / 0.7461 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of matching and sorting (n=248): time 0.1178/0.8422, allocations: 28.11 MB / 0.7736 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/0.8423, allocations: 186.2 kB / 0.7737 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004432/0.8468, allocations: 2.273 MB / 0.776 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001091/0.8478, allocations: 73.7 kB / 0.776 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001148/0.849, allocations: 1.18 MB / 0.7772 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001479/0.8505, allocations: 0.9158 MB / 0.7781 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001221/0.8517, allocations: 0.5659 MB / 0.7786 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.8518, allocations: 301.1 kB / 0.7789 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004324/0.8562, allocations: 1.954 MB / 0.7808 GB, free: 15.22 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004672/0.8608, allocations: 2.324 MB / 0.7831 GB, free: 12.81 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05584/0.9167, allocations: 14.01 MB / 0.7968 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.862e-05/0.9167, allocations: 0 / 0.7968 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=417) (initialization): time 0.04727/0.964, allocations: 12.44 MB / 0.8089 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001336/0.9641, allocations: 117.3 kB / 0.809 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.163e-05/0.9641, allocations: 8 kB / 0.809 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01915/0.9833, allocations: 5.291 MB / 0.8142 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003433/0.9867, allocations: 0.5695 MB / 0.8148 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0685/1.055, allocations: 23.2 MB / 0.8374 GB, free: 4.723 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005715/1.061, allocations: 493.8 kB / 0.8379 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001079/1.062, allocations: 117 kB / 0.838 GB, free: 4.125 MB / 0.5919 GB Warning: Assuming fixed start value for the following 7 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order4_1.delta:VARIABLE(flow=false start = order4_1.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (330): * Single equations (assignments): 325 * Array equations: 0 * Algorithm blocks: 4 * 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 {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002756/1.065, allocations: 0.5453 MB / 0.8385 GB, free: 3.559 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001572/1.066, allocations: 314 kB / 0.8388 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0431/1.109, allocations: 11.81 MB / 0.8504 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.716e-05/1.109, allocations: 24 kB / 0.8504 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.963e-05/1.11, allocations: 23.94 kB / 0.8504 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001072/1.11, allocations: 12.89 kB / 0.8504 GB, free: 7.328 MB / 0.6075 GB 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 postOpt removeSimpleEquations (simulation): time 0.05368/1.163, allocations: 15.43 MB / 0.8655 GB, free: 7.793 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.477e-05/1.163, allocations: 4.062 kB / 0.8655 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001827/1.165, allocations: 247.6 kB / 0.8657 GB, free: 7.547 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01877/1.184, allocations: 5.243 MB / 0.8709 GB, free: 2.289 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009776/1.185, allocations: 47.98 kB / 0.8709 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06512/1.25, allocations: 24.96 MB / 0.8953 GB, free: 8.863 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/1.25, allocations: 3.938 kB / 0.8953 GB, free: 8.859 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04904/1.299, allocations: 14.2 MB / 0.9092 GB, free: 10.54 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001686/1.301, allocations: 426.4 kB / 0.9096 GB, free: 10.1 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001709/1.303, allocations: 44 kB / 0.9096 GB, free: 10.06 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004127/1.307, allocations: 299.6 kB / 0.9099 GB, free: 9.766 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002878/1.31, allocations: 0.5841 MB / 0.9105 GB, free: 9.184 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006152/1.31, allocations: 63.98 kB / 0.9105 GB, free: 9.121 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003424/1.314, allocations: 1.507 MB / 0.912 GB, free: 7.609 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/1.314, allocations: 0 / 0.912 GB, free: 7.609 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.006065/1.32, allocations: 1.179 MB / 0.9131 GB, free: 6.43 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(65,23,7.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008416/1.32, allocations: 170.3 kB / 0.9133 GB, free: 6.258 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01985/1.34, allocations: 6.316 MB / 0.9195 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.328e-06/1.34, allocations: 5.75 kB / 0.9195 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.01419/1.355, allocations: 4.224 MB / 0.9236 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004201/1.359, allocations: 263.7 kB / 0.9239 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01367/1.372, allocations: 5.438 MB / 0.9292 GB, free: 5.852 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002304/1.375, allocations: 1.806 MB / 0.9309 GB, free: 4.016 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001809/1.376, allocations: 270.4 kB / 0.9312 GB, free: 3.75 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001026/1.378, allocations: 167.4 kB / 0.9313 GB, free: 3.586 MB / 0.6856 GB Notification: Performance of SimCode: time 2.024e-06/1.378, allocations: 4 kB / 0.9314 GB, free: 3.582 MB / 0.6856 GB Notification: Performance of Templates: time 0.4922/1.87, allocations: 65.73 MB / 0.9955 GB, free: 233.4 MB / 0.7169 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.042744035832584]