Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.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.001452/0.001452, allocations: 120.3 kB / 17.13 MB, free: 6.023 MB / 14.72 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.522/1.522, allocations: 230.6 MB / 250.5 MB, free: 9.199 MB / 206.1 MB " [Timeout remaining time 178] 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.001732/0.001732, allocations: 208.2 kB / 306.7 MB, free: 4.277 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.6083/0.6083, allocations: 107.3 MB / 470 MB, free: 6.223 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002701/0.002701, allocations: 91.86 kB / 0.6295 GB, free: 7.117 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5181/0.5208, allocations: 80.13 MB / 0.7077 GB, free: 5.039 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.02143/0.5422, allocations: 22.04 MB / 0.7292 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01486/0.5571, allocations: 4.941 MB / 0.7341 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005332/0.5624, allocations: 42.88 kB / 0.7341 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00405/0.5664, allocations: 0.8814 MB / 0.735 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01096/0.5774, allocations: 2.315 MB / 0.7372 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007633/0.585, allocations: 2.072 MB / 0.7392 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01214/0.5972, allocations: 5.778 MB / 0.7449 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003134/0.6003, allocations: 0.9167 MB / 0.7458 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005745/0.6061, allocations: 2.415 MB / 0.7481 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005918/0.612, allocations: 2.986 MB / 0.7511 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.002364/0.6143, allocations: 443.8 kB / 0.7515 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003409/0.6178, allocations: 0.6068 MB / 0.7521 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002512/0.6203, allocations: 1.162 MB / 0.7532 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.006417/0.6267, allocations: 2.635 MB / 0.7558 GB, free: 3.324 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01319/0.6399, allocations: 6.306 MB / 0.7619 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.6399, allocations: 0 / 0.7619 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.745e-06/0.6399, allocations: 0 / 0.7619 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0003023/0.6402, allocations: 1.156 kB / 0.7619 GB, free: 14.61 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.03824/0.6784, allocations: 9.408 MB / 0.7711 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/0.6785, allocations: 20.02 kB / 0.7712 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02852/0.707, allocations: 4.051 MB / 0.7751 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006663/0.7137, allocations: 2.713 MB / 0.7778 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001201/0.7149, allocations: 0.9574 MB / 0.7787 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001324/0.7162, allocations: 352 kB / 0.779 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01154/0.7277, allocations: 4.739 MB / 0.7837 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.81e-05/0.7278, allocations: 3.938 kB / 0.7837 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004403/0.7282, allocations: 140 kB / 0.7838 GB, free: 10.27 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.429e-05/0.7283, allocations: 87.94 kB / 0.7839 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01037/0.7387, allocations: 4.256 MB / 0.788 GB, free: 5.922 MB / 0.545 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.04028/0.7789, allocations: 18.29 MB / 0.8059 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01374/0.7927, allocations: 4.665 MB / 0.8104 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006786/0.7995, allocations: 2.488 MB / 0.8129 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006715/0.8001, allocations: 66.92 kB / 0.8129 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007799/0.8079, allocations: 3.193 MB / 0.8161 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=384): time 1.526e-05/0.8079, allocations: 0 / 0.8161 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of matching and sorting (n=384): time 0.3226/1.131, allocations: 67.66 MB / 0.8821 GB, free: 4.055 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001299/1.131, allocations: 141.8 kB / 0.8823 GB, free: 3.891 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005828/1.136, allocations: 3.254 MB / 0.8854 GB, free: 0.6172 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001145/1.138, allocations: 93.69 kB / 0.8855 GB, free: 0.5195 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001989/1.14, allocations: 2.005 MB / 0.8875 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.002656/1.142, allocations: 1.383 MB / 0.8888 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00172/1.144, allocations: 0.6862 MB / 0.8895 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001594/1.144, allocations: 301.1 kB / 0.8898 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006542/1.151, allocations: 2.601 MB / 0.8923 GB, free: 9.504 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007632/1.158, allocations: 3.237 MB / 0.8955 GB, free: 6.047 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08074/1.239, allocations: 19.21 MB / 0.9143 GB, free: 2.562 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.522e-05/1.239, allocations: 4 kB / 0.9143 GB, free: 2.559 MB / 0.67 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.06606/1.305, allocations: 17.19 MB / 0.9311 GB, free: 1.32 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/1.305, allocations: 75.34 kB / 0.9311 GB, free: 1.234 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.154e-05/1.305, allocations: 12 kB / 0.9311 GB, free: 1.223 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02872/1.334, allocations: 7.154 MB / 0.9381 GB, free: 10.06 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004115/1.338, allocations: 0.6903 MB / 0.9388 GB, free: 9.371 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09882/1.437, allocations: 33.34 MB / 0.9714 GB, free: 7.848 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006941/1.444, allocations: 0.6416 MB / 0.972 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007244/1.445, allocations: 156 kB / 0.9721 GB, free: 7.051 MB / 0.7325 GB 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 order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (407): * Single equations (assignments): 404 * 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 {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001977/1.447, allocations: 0.6678 MB / 0.9728 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001189/1.448, allocations: 484.9 kB / 0.9732 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4154/1.863, allocations: 16.74 MB / 0.9896 GB, free: 232.1 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.54e-05/1.863, allocations: 40.55 kB / 0.9896 GB, free: 232.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.464e-05/1.863, allocations: 31.05 kB / 0.9897 GB, free: 232.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001028/1.863, allocations: 19.5 kB / 0.9897 GB, free: 232.1 MB / 0.7325 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.06448/1.928, allocations: 21.74 MB / 1.011 GB, free: 227.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.001e-05/1.928, allocations: 7.969 kB / 1.011 GB, free: 227.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002407/1.93, allocations: 397.8 kB / 1.011 GB, free: 227.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02625/1.957, allocations: 7.37 MB / 1.018 GB, free: 225.8 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001627/1.958, allocations: 67.77 kB / 1.019 GB, free: 225.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07614/2.034, allocations: 31.84 MB / 1.05 GB, free: 198.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/2.034, allocations: 0 / 1.05 GB, free: 198.7 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06001/2.094, allocations: 20.14 MB / 1.069 GB, free: 178.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001875/2.096, allocations: 0.5823 MB / 1.07 GB, free: 178 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001394/2.098, allocations: 71.92 kB / 1.07 GB, free: 177.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004871/2.103, allocations: 375.6 kB / 1.07 GB, free: 177.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00307/2.106, allocations: 0.7883 MB / 1.071 GB, free: 176.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004908/2.106, allocations: 91.98 kB / 1.071 GB, free: 176.6 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003433/2.11, allocations: 2.141 MB / 1.073 GB, free: 174.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.91e-07/2.11, allocations: 0 / 1.073 GB, free: 174.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.006477/2.116, allocations: 1.813 MB / 1.075 GB, free: 172.7 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,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 (248): * Single equations (assignments): 245 * 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 {(100,36,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006594/2.117, allocations: 206.5 kB / 1.075 GB, free: 172.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02415/2.141, allocations: 8.798 MB / 1.084 GB, free: 163.7 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.962e-06/2.141, allocations: 2.062 kB / 1.084 GB, free: 163.7 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01916/2.16, allocations: 5.901 MB / 1.09 GB, free: 157.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00354/2.164, allocations: 390.3 kB / 1.09 GB, free: 157.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01434/2.178, allocations: 8.175 MB / 1.098 GB, free: 149.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001577/2.179, allocations: 2.459 MB / 1.1 GB, free: 146.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001568/2.181, allocations: 279.4 kB / 1.101 GB, free: 146.3 MB / 0.7325 GB Notification: Performance of SimCode: time 1.302e-06/2.181, allocations: 0 / 1.101 GB, free: 146.3 MB / 0.7325 GB Notification: Performance of Templates: time 0.0948/2.276, allocations: 89.75 MB / 1.188 GB, free: 56.42 MB / 0.7325 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.907606717897579] Failed to read output from testmodel.py, exit status != 0: 2.2849574990104884 2.292588481 1.6503134019999999 Calling exit ...