Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001469/0.001469, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.311/1.311, allocations: 177.1 MB / 199.4 MB, free: 8.453 MB / 190.1 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.001589/0.001589, allocations: 168.1 kB / 256 MB, free: 4.324 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.5481/0.5481, allocations: 80.35 MB / 392.7 MB, free: 29.66 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.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.5555 GB, free: 14.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.048e-05/2.168e-05, allocations: 6.219 kB / 0.5555 GB, free: 14.2 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.005374/0.005396, allocations: 5.82 MB / 0.5612 GB, free: 10.26 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003735/0.009131, allocations: 1.933 MB / 0.563 GB, free: 8.918 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005304/0.009661, allocations: 18.12 kB / 0.5631 GB, free: 8.91 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006568/0.01032, allocations: 236.7 kB / 0.5633 GB, free: 8.785 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001875/0.01219, allocations: 0.8632 MB / 0.5641 GB, free: 8.215 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.01339, allocations: 0.6539 MB / 0.5648 GB, free: 7.734 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001317/0.01471, allocations: 1.581 MB / 0.5663 GB, free: 6.742 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003217/0.01503, allocations: 215.7 kB / 0.5665 GB, free: 6.605 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008378/0.01587, allocations: 0.8982 MB / 0.5674 GB, free: 6.023 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006624/0.01653, allocations: 0.6634 MB / 0.568 GB, free: 5.617 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001749/0.0167, allocations: 126.2 kB / 0.5682 GB, free: 5.613 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004725/0.01718, allocations: 277.7 kB / 0.5684 GB, free: 5.543 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002147/0.01739, allocations: 331.5 kB / 0.5687 GB, free: 5.266 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003699/0.01776, allocations: 460.9 kB / 0.5692 GB, free: 4.973 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.01914, allocations: 1.73 MB / 0.5709 GB, free: 3.695 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.01915, allocations: 5.219 kB / 0.5709 GB, free: 3.691 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.01915, allocations: 0 / 0.5709 GB, free: 3.691 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.34e-05/0.01917, allocations: 0 / 0.5709 GB, free: 3.691 MB / 430.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.008498/0.02767, allocations: 2.799 MB / 0.5736 GB, free: 1.918 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.02771, allocations: 9.156 kB / 0.5736 GB, free: 1.918 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00509/0.0328, allocations: 0.7915 MB / 0.5744 GB, free: 1.594 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001291/0.03409, allocations: 0.833 MB / 0.5752 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002481/0.03434, allocations: 332.9 kB / 0.5755 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000153/0.03449, allocations: 82.75 kB / 0.5756 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001983/0.03647, allocations: 1.11 MB / 0.5767 GB, free: 15.92 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.03649, allocations: 0 / 0.5767 GB, free: 15.92 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.0366, allocations: 33.88 kB / 0.5767 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.03661, allocations: 19.41 kB / 0.5767 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002139/0.03875, allocations: 1.009 MB / 0.5777 GB, free: 15.24 MB / 446.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.006494/0.04525, allocations: 2.894 MB / 0.5806 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007783/0.05303, allocations: 2.021 MB / 0.5825 GB, free: 10.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001411/0.05444, allocations: 0.6349 MB / 0.5831 GB, free: 9.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.632e-05/0.05453, allocations: 13 kB / 0.5832 GB, free: 9.574 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001705/0.05623, allocations: 0.8429 MB / 0.584 GB, free: 8.707 MB / 446.1 MB Notification: Performance of pre-optimization done (n=96): time 2.885e-06/0.05623, allocations: 0 / 0.584 GB, free: 8.707 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.03033/0.08656, allocations: 6.955 MB / 0.5908 GB, free: 1.715 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.066e-05/0.08664, allocations: 115.8 kB / 0.5909 GB, free: 1.578 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001878/0.08852, allocations: 1.054 MB / 0.5919 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001411/0.08866, allocations: 45.7 kB / 0.592 GB, free: 468 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004589/0.08912, allocations: 0.5052 MB / 0.5925 GB, free: 15.95 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004087/0.08953, allocations: 368.9 kB / 0.5928 GB, free: 15.58 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005739/0.0901, allocations: 275.5 kB / 0.5931 GB, free: 15.31 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.09022, allocations: 309.1 kB / 0.5934 GB, free: 15 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001815/0.09203, allocations: 0.8037 MB / 0.5941 GB, free: 14.19 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001979/0.09401, allocations: 0.9766 MB / 0.5951 GB, free: 13.16 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02633/0.1203, allocations: 5.758 MB / 0.6007 GB, free: 7.312 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/0.1204, allocations: 0 / 0.6007 GB, free: 7.312 MB / 462.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.01482/0.1352, allocations: 4.332 MB / 0.605 GB, free: 2.941 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.479e-05/0.1352, allocations: 67.39 kB / 0.605 GB, free: 2.863 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.1353, allocations: 8 kB / 0.605 GB, free: 2.855 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00587/0.1411, allocations: 1.503 MB / 0.6065 GB, free: 1.348 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001537/0.1427, allocations: 287.6 kB / 0.6068 GB, free: 1.066 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02146/0.1641, allocations: 7.973 MB / 0.6146 GB, free: 8.98 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002029/0.1662, allocations: 195.1 kB / 0.6147 GB, free: 8.789 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002375/0.1664, allocations: 55.97 kB / 0.6148 GB, free: 8.734 MB / 478.1 MB 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.000761/0.1672, allocations: 300.4 kB / 0.6151 GB, free: 8.426 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003761/0.1675, allocations: 135.1 kB / 0.6152 GB, free: 8.293 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01408/0.1816, allocations: 3.87 MB / 0.619 GB, free: 4.387 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.1816, allocations: 8 kB / 0.619 GB, free: 4.379 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.289e-05/0.1817, allocations: 8 kB / 0.619 GB, free: 4.371 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.558e-05/0.1817, allocations: 3.984 kB / 0.619 GB, free: 4.367 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 postOpt removeSimpleEquations (simulation): time 0.0161/0.1978, allocations: 4.903 MB / 0.6238 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/0.1978, allocations: 4 kB / 0.6238 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005888/0.1984, allocations: 95.84 kB / 0.6239 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006045/0.2044, allocations: 1.583 MB / 0.6254 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001176/0.2045, allocations: 19.98 kB / 0.6255 GB, free: 13.69 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02241/0.2269, allocations: 9.197 MB / 0.6344 GB, free: 4.277 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.2269, allocations: 0 / 0.6344 GB, free: 4.277 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0159/0.2428, allocations: 4.766 MB / 0.6391 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004438/0.2433, allocations: 146.9 kB / 0.6392 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002777/0.2436, allocations: 20 kB / 0.6392 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/0.2449, allocations: 111.9 kB / 0.6394 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006439/0.2456, allocations: 208.6 kB / 0.6396 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.396e-05/0.2457, allocations: 24 kB / 0.6396 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001234/0.2469, allocations: 0.711 MB / 0.6403 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2469, allocations: 0 / 0.6403 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001491/0.2484, allocations: 479.6 kB / 0.6407 GB, free: 13.78 MB / 0.4981 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.000317/0.2487, allocations: 143.1 kB / 0.6409 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006705/0.2554, allocations: 2.42 MB / 0.6432 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.2554, allocations: 4.75 kB / 0.6432 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004631/0.2601, allocations: 1.544 MB / 0.6447 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009884/0.2611, allocations: 122.1 kB / 0.6449 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004125/0.2652, allocations: 2.178 MB / 0.647 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006053/0.2658, allocations: 0.5394 MB / 0.6475 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004164/0.2662, allocations: 119.9 kB / 0.6476 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002979/0.2665, allocations: 80.47 kB / 0.6477 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of SimCode: time 9.82e-07/0.2665, allocations: 0 / 0.6477 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of Templates: time 0.04165/0.3081, allocations: 25.66 MB / 0.6728 GB, free: 12.88 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.067721661180258] Failed to read output from testmodel.py, exit status != 0: 0.316631268709898 0.33167833 0.30951648200000004 Calling exit ...