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.001507/0.001507, allocations: 77.47 kB / 19.76 MB, free: 2.027 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.496/1.496, allocations: 177.2 MB / 200.1 MB, free: 8.32 MB / 190.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.001634/0.001634, allocations: 160.7 kB / 256.6 MB, free: 4.262 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4752/0.4752, allocations: 59.74 MB / 372.7 MB, free: 46.86 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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: 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.002565/0.002565, allocations: 86.56 kB / 0.5224 GB, free: 29.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1269, allocations: 73.29 MB / 0.594 GB, free: 14.97 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.007475/0.1343, allocations: 5.791 MB / 0.5996 GB, free: 9.152 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004367/0.1387, allocations: 1.924 MB / 0.6015 GB, free: 7.227 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006068/0.1393, allocations: 15.94 kB / 0.6015 GB, free: 7.211 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007252/0.14, allocations: 238 kB / 0.6017 GB, free: 6.977 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002112/0.1422, allocations: 0.854 MB / 0.6026 GB, free: 6.125 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4.xq <> order4.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001418/0.1436, allocations: 0.627 MB / 0.6032 GB, free: 5.504 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001903/0.1455, allocations: 1.608 MB / 0.6047 GB, free: 3.891 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004113/0.1459, allocations: 218.8 kB / 0.605 GB, free: 3.66 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000892/0.1468, allocations: 0.6808 MB / 0.6056 GB, free: 2.977 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009708/0.1477, allocations: 0.7698 MB / 0.6064 GB, free: 2.203 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001816/0.1479, allocations: 124 kB / 0.6065 GB, free: 2.082 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005437/0.1485, allocations: 267.9 kB / 0.6067 GB, free: 1.82 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003358/0.1488, allocations: 334.6 kB / 0.6071 GB, free: 1.492 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005885/0.1494, allocations: 0.5477 MB / 0.6076 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002105/0.1515, allocations: 1.708 MB / 0.6093 GB, free: 15.23 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1515, allocations: 0 / 0.6093 GB, free: 15.23 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1515, allocations: 0 / 0.6093 GB, free: 15.23 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.508e-05/0.1515, allocations: 0 / 0.6093 GB, free: 15.23 MB / 478.1 MB 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.009626/0.1612, allocations: 2.816 MB / 0.612 GB, free: 12.36 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.968e-05/0.1612, allocations: 15.98 kB / 0.612 GB, free: 12.34 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005271/0.1665, allocations: 0.7913 MB / 0.6128 GB, free: 11.55 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001626/0.1681, allocations: 0.8268 MB / 0.6136 GB, free: 10.68 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003549/0.1685, allocations: 337.3 kB / 0.6139 GB, free: 10.29 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001712/0.1686, allocations: 84 kB / 0.614 GB, free: 10.21 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002237/0.1709, allocations: 1.119 MB / 0.6151 GB, free: 9.07 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.1709, allocations: 0 / 0.6151 GB, free: 9.07 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-05/0.171, allocations: 28 kB / 0.6151 GB, free: 9.043 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.162e-05/0.171, allocations: 20 kB / 0.6152 GB, free: 9.023 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002136/0.1731, allocations: 1.009 MB / 0.6161 GB, free: 8.004 MB / 478.1 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.006304/0.1795, allocations: 2.851 MB / 0.6189 GB, free: 5.094 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007506/0.187, allocations: 2.025 MB / 0.6209 GB, free: 3.043 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001446/0.1884, allocations: 0.6388 MB / 0.6215 GB, free: 2.395 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.929e-05/0.1885, allocations: 9 kB / 0.6215 GB, free: 2.387 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001697/0.1902, allocations: 0.8537 MB / 0.6224 GB, free: 1.508 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 2.775e-06/0.1902, allocations: 4 kB / 0.6224 GB, free: 1.504 MB / 478.1 MB Notification: Performance of matching and sorting (n=96): time 0.02973/0.2199, allocations: 6.947 MB / 0.6292 GB, free: 10.52 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.22, allocations: 115.8 kB / 0.6293 GB, free: 10.38 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001921/0.2219, allocations: 1.062 MB / 0.6303 GB, free: 9.305 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002025/0.2221, allocations: 45.7 kB / 0.6303 GB, free: 9.254 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005018/0.2226, allocations: 0.5052 MB / 0.6308 GB, free: 8.742 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004536/0.2231, allocations: 368.9 kB / 0.6312 GB, free: 8.379 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005127/0.2236, allocations: 279.5 kB / 0.6315 GB, free: 8.102 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.2238, allocations: 301.1 kB / 0.6317 GB, free: 7.805 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001783/0.2255, allocations: 0.8076 MB / 0.6325 GB, free: 6.984 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001938/0.2275, allocations: 0.9727 MB / 0.6335 GB, free: 5.957 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02505/0.2525, allocations: 5.77 MB / 0.6391 GB, free: 108 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/0.2525, allocations: 0 / 0.6391 GB, free: 108 kB / 494.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.0142/0.2667, allocations: 4.344 MB / 0.6434 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.899e-05/0.2668, allocations: 59.39 kB / 0.6434 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/0.2668, allocations: 4 kB / 0.6434 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005702/0.2725, allocations: 1.507 MB / 0.6449 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001638/0.2742, allocations: 287.6 kB / 0.6452 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0211/0.2953, allocations: 7.972 MB / 0.653 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001998/0.2973, allocations: 195.1 kB / 0.6531 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/0.2974, allocations: 59.91 kB / 0.6532 GB, free: 1.516 MB / 0.4981 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.0006545/0.2981, allocations: 300.6 kB / 0.6535 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002554/0.2983, allocations: 131.2 kB / 0.6536 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01363/0.312, allocations: 3.87 MB / 0.6574 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.379e-05/0.312, allocations: 12 kB / 0.6574 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-05/0.312, allocations: 7.938 kB / 0.6574 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.089e-05/0.312, allocations: 7.984 kB / 0.6574 GB, free: 13.14 MB / 0.5137 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.01569/0.3277, allocations: 4.888 MB / 0.6622 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/0.3277, allocations: 0 / 0.6622 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006872/0.3284, allocations: 103.8 kB / 0.6623 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006135/0.3346, allocations: 1.605 MB / 0.6639 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002442/0.3348, allocations: 24 kB / 0.6639 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02219/0.357, allocations: 9.177 MB / 0.6728 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.357, allocations: 4.125 kB / 0.6728 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01553/0.3725, allocations: 4.766 MB / 0.6775 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005291/0.3731, allocations: 146.9 kB / 0.6776 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000202/0.3733, allocations: 16 kB / 0.6777 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/0.3745, allocations: 115.9 kB / 0.6778 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006332/0.3751, allocations: 200.6 kB / 0.678 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.76e-05/0.3752, allocations: 31.92 kB / 0.678 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001186/0.3764, allocations: 0.711 MB / 0.6787 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3764, allocations: 0 / 0.6787 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001632/0.378, allocations: 479.6 kB / 0.6791 GB, free: 6.555 MB / 0.5294 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 {(21,11,21.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003111/0.3783, allocations: 135.2 kB / 0.6793 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006555/0.3849, allocations: 2.42 MB / 0.6816 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.3849, allocations: 0 / 0.6816 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004622/0.3895, allocations: 1.585 MB / 0.6832 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009897/0.3905, allocations: 112.4 kB / 0.6833 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004359/0.3948, allocations: 2.314 MB / 0.6855 GB, free: 15.84 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005934/0.3954, allocations: 0.5354 MB / 0.6861 GB, free: 15.27 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004122/0.3959, allocations: 115.9 kB / 0.6862 GB, free: 15.16 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002676/0.3961, allocations: 80.47 kB / 0.6863 GB, free: 15.08 MB / 0.545 GB Notification: Performance of SimCode: time 7.82e-07/0.3961, allocations: 0 / 0.6863 GB, free: 15.08 MB / 0.545 GB Notification: Performance of Templates: time 0.04632/0.4424, allocations: 25.75 MB / 0.7114 GB, free: 5.41 MB / 0.5606 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 -s ida -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.002397779026069] Failed to read output from testmodel.py, exit status != 0: 0.45138821098953485 0.754837691 0.6009400260000001 Calling exit ...