Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.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.0007026/0.0007026, allocations: 92.72 kB / 20.21 MB, free: 4.207 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.8365/0.8365, allocations: 177.1 MB / 200.5 MB, free: 5.789 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.0009844/0.0009844, allocations: 160.6 kB / 257.1 MB, free: 13.15 MB / 250.7 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.2525/0.2525, allocations: 80.36 MB / 393.9 MB, free: 2.16 MB / 314.7 MB " [Timeout remaining time 180] 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_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 490 MB, free: 11.84 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.658e-05/2.826e-05, allocations: 9.172 kB / 490 MB, free: 11.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.004472/0.0045, allocations: 5.52 MB / 495.5 MB, free: 6.301 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003303/0.007804, allocations: 1.826 MB / 497.4 MB, free: 4.48 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006235/0.008427, allocations: 13.59 kB / 497.4 MB, free: 4.469 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004493/0.008876, allocations: 214 kB / 497.6 MB, free: 4.258 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001512/0.01039, allocations: 0.815 MB / 498.4 MB, free: 3.445 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008848/0.01127, allocations: 0.5732 MB / 499 MB, free: 2.883 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001419/0.01269, allocations: 1.412 MB / 0.4886 GB, free: 1.465 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003182/0.01301, allocations: 188.3 kB / 0.4888 GB, free: 1.27 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001087/0.0141, allocations: 0.8219 MB / 0.4896 GB, free: 456 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006236/0.01472, allocations: 0.6161 MB / 0.4902 GB, free: 15.83 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001532/0.01487, allocations: 108 kB / 0.4903 GB, free: 15.72 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004005/0.01527, allocations: 249 kB / 0.4906 GB, free: 15.48 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001597/0.01543, allocations: 294.7 kB / 0.4909 GB, free: 15.19 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002856/0.01572, allocations: 418.5 kB / 0.4913 GB, free: 14.78 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001705/0.01742, allocations: 1.55 MB / 0.4928 GB, free: 13.23 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.01743, allocations: 0 / 0.4928 GB, free: 13.23 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.01743, allocations: 0 / 0.4928 GB, free: 13.23 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.162e-05/0.01747, allocations: 0.5312 kB / 0.4928 GB, free: 13.23 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.004473/0.02194, allocations: 2.464 MB / 0.4952 GB, free: 10.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.02199, allocations: 13.09 kB / 0.4952 GB, free: 10.74 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002507/0.02449, allocations: 0.8777 MB / 0.496 GB, free: 9.863 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009532/0.02545, allocations: 0.7529 MB / 0.4968 GB, free: 9.074 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002149/0.02566, allocations: 367 kB / 0.4971 GB, free: 8.656 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.02577, allocations: 79.95 kB / 0.4972 GB, free: 8.578 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.02726, allocations: 1.17 MB / 0.4983 GB, free: 7.379 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.02727, allocations: 0 / 0.4983 GB, free: 7.379 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.046e-05/0.02733, allocations: 28 kB / 0.4984 GB, free: 7.352 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.02735, allocations: 19.94 kB / 0.4984 GB, free: 7.332 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001437/0.02878, allocations: 0.942 MB / 0.4993 GB, free: 6.391 MB / 426.7 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.00347/0.03225, allocations: 2.664 MB / 0.5019 GB, free: 3.656 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003504/0.03576, allocations: 1.917 MB / 0.5038 GB, free: 1.715 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007444/0.0365, allocations: 0.5931 MB / 0.5044 GB, free: 1.117 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.105e-05/0.03658, allocations: 20.66 kB / 0.5044 GB, free: 1.098 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.03661, allocations: 51.08 kB / 0.5044 GB, free: 1.039 MB / 426.7 MB Notification: Performance of pre-optimization done (n=92): time 3.426e-06/0.03661, allocations: 0 / 0.5044 GB, free: 1.039 MB / 426.7 MB Notification: Performance of matching and sorting (n=92): time 0.01412/0.05074, allocations: 6.732 MB / 0.511 GB, free: 10.29 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.614e-05/0.05081, allocations: 101.6 kB / 0.5111 GB, free: 10.17 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009625/0.05177, allocations: 0.9366 MB / 0.512 GB, free: 9.211 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.05188, allocations: 41.7 kB / 0.5121 GB, free: 9.164 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002528/0.05213, allocations: 465.3 kB / 0.5125 GB, free: 8.707 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002834/0.05241, allocations: 329.2 kB / 0.5128 GB, free: 8.383 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002696/0.05268, allocations: 234.8 kB / 0.513 GB, free: 8.148 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003498/0.05303, allocations: 353.9 kB / 0.5134 GB, free: 7.797 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008629/0.0539, allocations: 0.6826 MB / 0.514 GB, free: 7.113 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009258/0.05482, allocations: 0.8639 MB / 0.5149 GB, free: 6.199 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01106/0.06588, allocations: 5.192 MB / 0.52 GB, free: 0.9492 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.837e-06/0.06589, allocations: 0 / 0.52 GB, free: 0.9492 MB / 442.7 MB Notification: Performance of matching and sorting (n=167) (initialization): time 0.007088/0.07298, allocations: 4.106 MB / 0.524 GB, free: 12.82 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.07301, allocations: 10.19 kB / 0.524 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.07302, allocations: 4 kB / 0.524 GB, free: 12.81 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002803/0.07582, allocations: 1.512 MB / 0.5255 GB, free: 11.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006471/0.07647, allocations: 235.6 kB / 0.5257 GB, free: 11.07 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0113/0.08777, allocations: 7.993 MB / 0.5335 GB, free: 2.961 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/0.08882, allocations: 167.3 kB / 0.5336 GB, free: 2.797 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.049e-05/0.08891, allocations: 47.92 kB / 0.5337 GB, free: 2.75 MB / 458.7 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: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vf,aVRTypeII.vr2,aVRTypeII.vr1,aVRTypeII.vm) * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * 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 {(19,12,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006466/0.08955, allocations: 253.4 kB / 0.5339 GB, free: 2.496 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009559/0.09051, allocations: 369.5 kB / 0.5343 GB, free: 2.125 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006056/0.09657, allocations: 3.557 MB / 0.5378 GB, free: 14.55 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.09658, allocations: 12 kB / 0.5378 GB, free: 14.54 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.09659, allocations: 11.94 kB / 0.5378 GB, free: 14.53 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.0966, allocations: 7.922 kB / 0.5378 GB, free: 14.52 MB / 474.7 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.00772/0.1043, allocations: 4.57 MB / 0.5423 GB, free: 9.898 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.1043, allocations: 0 / 0.5423 GB, free: 9.898 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000296/0.1046, allocations: 115.8 kB / 0.5424 GB, free: 9.785 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002785/0.1074, allocations: 1.567 MB / 0.5439 GB, free: 8.211 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.552e-05/0.1075, allocations: 23.98 kB / 0.5439 GB, free: 8.188 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01129/0.1188, allocations: 10.37 MB / 0.554 GB, free: 13.54 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1188, allocations: 0 / 0.554 GB, free: 13.54 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007904/0.1267, allocations: 4.606 MB / 0.5585 GB, free: 8.902 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003804/0.127, allocations: 135.1 kB / 0.5587 GB, free: 8.77 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.1272, allocations: 16 kB / 0.5587 GB, free: 8.754 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004929/0.1276, allocations: 88.16 kB / 0.5588 GB, free: 8.668 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004064/0.128, allocations: 188.6 kB / 0.559 GB, free: 8.484 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.442e-05/0.1281, allocations: 27.94 kB / 0.559 GB, free: 8.457 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005975/0.1287, allocations: 0.6308 MB / 0.5596 GB, free: 7.816 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1287, allocations: 0 / 0.5596 GB, free: 7.816 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009438/0.1296, allocations: 435.6 kB / 0.56 GB, free: 7.391 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vm,aVRTypeII.vr1,aVRTypeII.vr2,aVRTypeII.vf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002457/0.1299, allocations: 135.1 kB / 0.5601 GB, free: 7.25 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003367/0.1332, allocations: 2.13 MB / 0.5622 GB, free: 5.109 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1333, allocations: 0 / 0.5622 GB, free: 5.109 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002288/0.1355, allocations: 1.265 MB / 0.5635 GB, free: 3.824 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009661/0.1365, allocations: 368.9 kB / 0.5638 GB, free: 3.457 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002604/0.1391, allocations: 2.027 MB / 0.5658 GB, free: 1.395 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.1394, allocations: 493.8 kB / 0.5663 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000227/0.1396, allocations: 103 kB / 0.5664 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.1398, allocations: 72.48 kB / 0.5664 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of SimCode: time 1.463e-06/0.1398, allocations: 0 / 0.5664 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of Templates: time 0.025/0.1648, allocations: 23.47 MB / 0.5893 GB, free: 9.34 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 3.773193560540676] Failed to read output from testmodel.py, exit status != 0: 0.17159725725650787 0.32130963300000004 0.302175101 Calling exit ...