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.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.001408/0.001408, allocations: 97.69 kB / 19.59 MB, free: 2.336 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.478/1.478, allocations: 225.6 MB / 248.2 MB, free: 3.098 MB / 190.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.001566/0.001566, allocations: 196.5 kB / 303.6 MB, free: 3.473 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.3599/0.3599, allocations: 79.73 MB / 438.6 MB, free: 7.047 MB / 366.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.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.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 0.003023/0.003023, allocations: 87.86 kB / 0.5843 GB, free: 7.762 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4719/0.4749, allocations: 72.12 MB / 0.6548 GB, free: 18.43 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.008405/0.4833, allocations: 6.604 MB / 0.6612 GB, free: 13.63 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005509/0.4888, allocations: 1.983 MB / 0.6631 GB, free: 12.22 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001088/0.4899, allocations: 9.344 kB / 0.6632 GB, free: 12.22 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009772/0.4909, allocations: 237 kB / 0.6634 GB, free: 12.1 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002588/0.4935, allocations: 0.8729 MB / 0.6642 GB, free: 11.52 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.001713/0.4952, allocations: 0.6255 MB / 0.6648 GB, free: 11.2 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002584/0.4978, allocations: 1.623 MB / 0.6664 GB, free: 10.4 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004378/0.4982, allocations: 226.4 kB / 0.6666 GB, free: 10.27 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001215/0.4994, allocations: 0.6797 MB / 0.6673 GB, free: 9.938 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001177/0.5006, allocations: 0.8435 MB / 0.6681 GB, free: 9.539 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002502/0.5008, allocations: 121.8 kB / 0.6682 GB, free: 9.539 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007638/0.5016, allocations: 254.7 kB / 0.6685 GB, free: 9.5 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000416/0.502, allocations: 330.7 kB / 0.6688 GB, free: 9.285 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008547/0.5029, allocations: 0.6736 MB / 0.6695 GB, free: 8.824 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002481/0.5054, allocations: 1.674 MB / 0.6711 GB, free: 7.691 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.5054, allocations: 0 / 0.6711 GB, free: 7.691 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.5054, allocations: 0 / 0.6711 GB, free: 7.691 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.726e-05/0.5054, allocations: 1.094 kB / 0.6711 GB, free: 7.691 MB / 462.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.008737/0.5141, allocations: 2.787 MB / 0.6738 GB, free: 5.938 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.5142, allocations: 13.83 kB / 0.6738 GB, free: 5.934 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004957/0.5191, allocations: 0.7847 MB / 0.6746 GB, free: 5.605 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001696/0.5208, allocations: 0.8332 MB / 0.6754 GB, free: 4.938 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002619/0.5211, allocations: 254.9 kB / 0.6757 GB, free: 4.707 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001608/0.5212, allocations: 83.19 kB / 0.6757 GB, free: 4.68 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002087/0.5233, allocations: 1.103 MB / 0.6768 GB, free: 4.031 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.5234, allocations: 0 / 0.6768 GB, free: 4.031 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.02e-05/0.5234, allocations: 31.17 kB / 0.6768 GB, free: 4.008 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.392e-05/0.5235, allocations: 17.5 kB / 0.6769 GB, free: 4.008 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002031/0.5255, allocations: 0.9883 MB / 0.6778 GB, free: 3.539 MB / 462.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.006205/0.5317, allocations: 3.74 MB / 0.6815 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00681/0.5385, allocations: 1.995 MB / 0.6834 GB, free: 15.68 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001483/0.54, allocations: 0.617 MB / 0.684 GB, free: 15.36 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.5401, allocations: 23.28 kB / 0.6841 GB, free: 15.35 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001663/0.5418, allocations: 0.8194 MB / 0.6849 GB, free: 14.85 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 3.556e-06/0.5418, allocations: 0 / 0.6849 GB, free: 14.85 MB / 478.1 MB Notification: Performance of matching and sorting (n=96): time 0.02724/0.569, allocations: 6.9 MB / 0.6916 GB, free: 9.969 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.15e-05/0.5691, allocations: 119.8 kB / 0.6917 GB, free: 9.828 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001935/0.571, allocations: 1.083 MB / 0.6928 GB, free: 8.73 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000226/0.5713, allocations: 45.7 kB / 0.6928 GB, free: 8.68 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004269/0.5717, allocations: 0.4975 MB / 0.6933 GB, free: 8.176 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004609/0.5722, allocations: 372.8 kB / 0.6936 GB, free: 7.809 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005333/0.5727, allocations: 291.5 kB / 0.6939 GB, free: 7.52 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.5728, allocations: 301.1 kB / 0.6942 GB, free: 7.223 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001618/0.5744, allocations: 0.7652 MB / 0.695 GB, free: 6.457 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00176/0.5762, allocations: 0.942 MB / 0.6959 GB, free: 5.473 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02288/0.5991, allocations: 5.564 MB / 0.7013 GB, free: 15.82 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.5991, allocations: 0 / 0.7013 GB, free: 15.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01312/0.6122, allocations: 4.325 MB / 0.7055 GB, free: 11.47 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.39e-05/0.6123, allocations: 65.59 kB / 0.7056 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.6123, allocations: 4 kB / 0.7056 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005224/0.6175, allocations: 1.495 MB / 0.7071 GB, free: 9.895 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001657/0.6192, allocations: 307.6 kB / 0.7074 GB, free: 9.594 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01921/0.6384, allocations: 8.178 MB / 0.7153 GB, free: 1.281 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002049/0.6404, allocations: 203 kB / 0.7155 GB, free: 1.082 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001463/0.6406, allocations: 55.97 kB / 0.7156 GB, free: 1.027 MB / 494.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 (166): * Single equations (assignments): 163 * 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.0007636/0.6414, allocations: 307.2 kB / 0.7159 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000269/0.6416, allocations: 135 kB / 0.716 GB, free: 0.582 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01247/0.6541, allocations: 3.842 MB / 0.7198 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.359e-05/0.6541, allocations: 12 kB / 0.7198 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.216e-05/0.6541, allocations: 11.94 kB / 0.7198 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.739e-05/0.6542, allocations: 3.984 kB / 0.7198 GB, free: 12.68 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 postOpt removeSimpleEquations (simulation): time 0.01616/0.6703, allocations: 5.396 MB / 0.7251 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.484e-05/0.6703, allocations: 3.938 kB / 0.7251 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006994/0.671, allocations: 95.89 kB / 0.7252 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005557/0.6766, allocations: 1.61 MB / 0.7267 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002288/0.6768, allocations: 20 kB / 0.7267 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02165/0.6985, allocations: 9.424 MB / 0.7359 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.6985, allocations: 0 / 0.7359 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0148/0.7133, allocations: 4.72 MB / 0.7406 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006881/0.714, allocations: 150.9 kB / 0.7407 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004352/0.7144, allocations: 20 kB / 0.7407 GB, free: 6.871 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001464/0.7159, allocations: 107.9 kB / 0.7408 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007228/0.7166, allocations: 208.7 kB / 0.741 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/0.7167, allocations: 31.98 kB / 0.7411 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0015/0.7182, allocations: 0.7235 MB / 0.7418 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7182, allocations: 4 kB / 0.7418 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002016/0.7202, allocations: 475.6 kB / 0.7422 GB, free: 5.328 MB / 0.5137 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.0003956/0.7206, allocations: 138.4 kB / 0.7423 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006462/0.7271, allocations: 2.365 MB / 0.7447 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.7271, allocations: 0 / 0.7447 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00449/0.7316, allocations: 1.55 MB / 0.7462 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/0.733, allocations: 124.5 kB / 0.7463 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005129/0.7382, allocations: 2.324 MB / 0.7486 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009518/0.7391, allocations: 1.124 MB / 0.7497 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004305/0.7395, allocations: 91.34 kB / 0.7497 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of SimCode: time 2.355e-06/0.7395, allocations: 0 / 0.7497 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of Templates: time 0.03734/0.7769, allocations: 23.76 MB / 0.7729 GB, free: 5.699 MB / 0.545 GB " [Timeout remaining time 659] 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: 10.34407402400393] Failed to read output from testmodel.py, exit status != 0: 0.7880654670007061 0.801164715 0.29252666800000005 Calling exit ...