Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.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.0008339/0.0008339, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 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 0.8685/0.8685, allocations: 177.2 MB / 200.2 MB, free: 5.949 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.0009712/0.0009712, allocations: 168.2 kB / 256.7 MB, free: 13.35 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.257/0.257, allocations: 80.25 MB / 393.4 MB, free: 2.434 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.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.556 GB, free: 12.18 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.694e-05/1.857e-05, allocations: 6.281 kB / 0.556 GB, free: 12.17 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.004725/0.004744, allocations: 5.826 MB / 0.5617 GB, free: 6.312 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002281/0.007025, allocations: 1.931 MB / 0.5636 GB, free: 4.375 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002826/0.007308, allocations: 12 kB / 0.5636 GB, free: 4.363 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004973/0.007805, allocations: 241.8 kB / 0.5639 GB, free: 4.125 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001388/0.009193, allocations: 0.8586 MB / 0.5647 GB, free: 3.266 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007095/0.009902, allocations: 0.6396 MB / 0.5653 GB, free: 2.633 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009318/0.01083, allocations: 1.592 MB / 0.5669 GB, free: 1.035 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002596/0.01109, allocations: 214.8 kB / 0.5671 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006615/0.01176, allocations: 0.8961 MB / 0.568 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005225/0.01228, allocations: 0.6659 MB / 0.5686 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.01239, allocations: 124 kB / 0.5687 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002854/0.01267, allocations: 287.6 kB / 0.569 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001906/0.01286, allocations: 330.6 kB / 0.5693 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002756/0.01314, allocations: 462.4 kB / 0.5698 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001417/0.01456, allocations: 1.729 MB / 0.5714 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.01456, allocations: 0 / 0.5714 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.233e-06/0.01456, allocations: 0 / 0.5714 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.01457, allocations: 0 / 0.5714 GB, free: 12.33 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.004476/0.01905, allocations: 2.8 MB / 0.5742 GB, free: 9.477 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.01908, allocations: 8.031 kB / 0.5742 GB, free: 9.469 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002436/0.02152, allocations: 0.7952 MB / 0.575 GB, free: 8.668 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000944/0.02246, allocations: 0.8306 MB / 0.5758 GB, free: 7.797 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002071/0.02267, allocations: 337.3 kB / 0.5761 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.02278, allocations: 84 kB / 0.5762 GB, free: 7.328 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.02411, allocations: 1.112 MB / 0.5773 GB, free: 6.199 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.02413, allocations: 3.938 kB / 0.5773 GB, free: 6.195 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.678e-05/0.0242, allocations: 31.94 kB / 0.5773 GB, free: 6.164 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.02421, allocations: 20 kB / 0.5773 GB, free: 6.145 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001556/0.02577, allocations: 1.005 MB / 0.5783 GB, free: 5.129 MB / 0.4948 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.003707/0.02947, allocations: 2.871 MB / 0.5811 GB, free: 2.199 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003749/0.03322, allocations: 2.023 MB / 0.5831 GB, free: 160 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008356/0.03406, allocations: 0.6427 MB / 0.5837 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.448e-05/0.03413, allocations: 16.98 kB / 0.5837 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001032/0.03516, allocations: 0.8467 MB / 0.5845 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=96): time 2.755e-06/0.03517, allocations: 0 / 0.5845 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=96): time 0.01489/0.05006, allocations: 6.947 MB / 0.5913 GB, free: 7.629 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/0.05012, allocations: 119.7 kB / 0.5914 GB, free: 7.488 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/0.05152, allocations: 1.058 MB / 0.5925 GB, free: 6.414 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.174e-05/0.0516, allocations: 45.7 kB / 0.5925 GB, free: 6.363 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002754/0.05187, allocations: 0.5014 MB / 0.593 GB, free: 5.855 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002605/0.05213, allocations: 364.9 kB / 0.5934 GB, free: 5.496 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003089/0.05244, allocations: 275.5 kB / 0.5936 GB, free: 5.223 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.689e-05/0.05252, allocations: 309.1 kB / 0.5939 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/0.05353, allocations: 0.8076 MB / 0.5947 GB, free: 4.098 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001096/0.05462, allocations: 0.9767 MB / 0.5957 GB, free: 3.066 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2281/0.2827, allocations: 5.753 MB / 0.6013 GB, free: 91.44 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.2827, allocations: 0 / 0.6013 GB, free: 91.44 MB / 0.5105 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006726/0.2895, allocations: 4.343 MB / 0.6055 GB, free: 90.72 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.408e-05/0.2895, allocations: 58.69 kB / 0.6056 GB, free: 90.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.2895, allocations: 0 / 0.6056 GB, free: 90.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002623/0.2921, allocations: 1.505 MB / 0.607 GB, free: 90.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006869/0.2928, allocations: 295 kB / 0.6073 GB, free: 90.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01141/0.3042, allocations: 7.958 MB / 0.6151 GB, free: 86.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009824/0.3052, allocations: 198.8 kB / 0.6153 GB, free: 86.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.612e-05/0.3053, allocations: 58.55 kB / 0.6153 GB, free: 86.79 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.e1q:VARIABLE(start = order4.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 (159): * Single equations (assignments): 156 * 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 {(18,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004325/0.3057, allocations: 299.4 kB / 0.6156 GB, free: 86.55 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.3058, allocations: 128.9 kB / 0.6157 GB, free: 86.48 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007262/0.3131, allocations: 3.873 MB / 0.6195 GB, free: 85.54 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.3131, allocations: 11.09 kB / 0.6195 GB, free: 85.54 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/0.3131, allocations: 13.91 kB / 0.6196 GB, free: 85.53 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/0.3131, allocations: 5.859 kB / 0.6196 GB, free: 85.53 MB / 0.5105 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.008264/0.3214, allocations: 4.894 MB / 0.6243 GB, free: 84.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.3214, allocations: 0 / 0.6243 GB, free: 84.01 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002936/0.3217, allocations: 102.2 kB / 0.6244 GB, free: 84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002799/0.3245, allocations: 1.587 MB / 0.626 GB, free: 83.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.802e-05/0.3246, allocations: 30.02 kB / 0.626 GB, free: 83.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01084/0.3354, allocations: 9.185 MB / 0.635 GB, free: 78.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3354, allocations: 4.281 kB / 0.635 GB, free: 78.64 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007192/0.3426, allocations: 4.761 MB / 0.6396 GB, free: 76.57 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000168/0.3428, allocations: 146.6 kB / 0.6398 GB, free: 76.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.754e-05/0.3429, allocations: 31.83 kB / 0.6398 GB, free: 76.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005058/0.3434, allocations: 113.4 kB / 0.6399 GB, free: 76.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003087/0.3437, allocations: 202.8 kB / 0.6401 GB, free: 76.26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.121e-05/0.3437, allocations: 22.88 kB / 0.6401 GB, free: 76.26 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005884/0.3443, allocations: 0.7137 MB / 0.6408 GB, free: 75.85 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/0.3443, allocations: 0 / 0.6408 GB, free: 75.85 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000968/0.3453, allocations: 482.6 kB / 0.6413 GB, free: 75.79 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,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 (64): * Single equations (assignments): 61 * 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 {(19,13,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002155/0.3455, allocations: 142.9 kB / 0.6414 GB, free: 75.68 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002892/0.3484, allocations: 2.419 MB / 0.6438 GB, free: 74.07 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3484, allocations: 0 / 0.6438 GB, free: 74.07 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001829/0.3502, allocations: 1.543 MB / 0.6453 GB, free: 72.49 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004627/0.3507, allocations: 120.4 kB / 0.6454 GB, free: 72.38 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/0.3526, allocations: 2.217 MB / 0.6476 GB, free: 70.16 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/0.3528, allocations: 0.5354 MB / 0.6481 GB, free: 69.58 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/0.353, allocations: 84.47 kB / 0.6482 GB, free: 69.5 MB / 0.5105 GB Notification: Performance of SimCode: time 8.32e-07/0.353, allocations: 0 / 0.6482 GB, free: 69.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.01384/0.3669, allocations: 24.18 MB / 0.6718 GB, free: 45.38 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.095580257475376] Failed to read output from testmodel.py, exit status != 0: 0.3720853589475155 0.377896665 0.362014427 Calling exit ...