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.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.001488/0.001488, allocations: 109.5 kB / 17.08 MB, free: 6.008 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.494/1.494, allocations: 222.9 MB / 242.7 MB, free: 15.23 MB / 206.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.001528/0.001528, allocations: 195.3 kB / 295.1 MB, free: 12.68 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5707/0.5707, allocations: 98.2 MB / 445.4 MB, free: 10.99 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_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 0.002742/0.002742, allocations: 80.16 kB / 0.591 GB, free: 4.078 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1647, allocations: 72.77 MB / 0.6621 GB, free: 11.23 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.008774/0.1735, allocations: 6.587 MB / 0.6685 GB, free: 4.609 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004842/0.1784, allocations: 1.966 MB / 0.6704 GB, free: 2.637 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001217/0.1796, allocations: 11.94 kB / 0.6704 GB, free: 2.625 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.1807, allocations: 246 kB / 0.6707 GB, free: 2.383 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002612/0.1834, allocations: 0.7959 MB / 0.6714 GB, free: 1.59 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001511/0.1849, allocations: 0.6413 MB / 0.6721 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002309/0.1872, allocations: 1.585 MB / 0.6736 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005303/0.1877, allocations: 322.4 kB / 0.6739 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009644/0.1887, allocations: 0.6496 MB / 0.6746 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00103/0.1898, allocations: 0.8206 MB / 0.6754 GB, free: 13.56 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001938/0.19, allocations: 128 kB / 0.6755 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000594/0.1906, allocations: 259.8 kB / 0.6757 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003456/0.1909, allocations: 330.6 kB / 0.676 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006519/0.1916, allocations: 0.6679 MB / 0.6767 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002009/0.1936, allocations: 1.669 MB / 0.6783 GB, free: 10.51 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1936, allocations: 0 / 0.6783 GB, free: 10.51 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.857e-06/0.1936, allocations: 4 kB / 0.6783 GB, free: 10.5 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.561e-05/0.1937, allocations: 3.938 kB / 0.6783 GB, free: 10.5 MB / 494.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.009064/0.2027, allocations: 2.726 MB / 0.681 GB, free: 7.707 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.2028, allocations: 11.97 kB / 0.681 GB, free: 7.695 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005082/0.2079, allocations: 0.7834 MB / 0.6818 GB, free: 6.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001684/0.2096, allocations: 0.899 MB / 0.6827 GB, free: 5.957 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000316/0.2099, allocations: 252.2 kB / 0.6829 GB, free: 5.672 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001636/0.2101, allocations: 84 kB / 0.683 GB, free: 5.59 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002258/0.2123, allocations: 1.09 MB / 0.684 GB, free: 4.488 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.2124, allocations: 0 / 0.684 GB, free: 4.488 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.26e-05/0.2125, allocations: 32 kB / 0.6841 GB, free: 4.457 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.25e-05/0.2125, allocations: 20 kB / 0.6841 GB, free: 4.438 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002142/0.2147, allocations: 0.9877 MB / 0.6851 GB, free: 3.445 MB / 494.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.3519/0.5665, allocations: 3.839 MB / 0.6888 GB, free: 24.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007199/0.5738, allocations: 2.362 MB / 0.6911 GB, free: 24.32 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001451/0.5753, allocations: 0.6748 MB / 0.6918 GB, free: 24.31 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001122/0.5754, allocations: 15.94 kB / 0.6918 GB, free: 24.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001596/0.577, allocations: 0.8174 MB / 0.6926 GB, free: 24.23 MB / 494.1 MB Notification: Performance of pre-optimization done (n=96): time 3.607e-06/0.577, allocations: 0 / 0.6926 GB, free: 24.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=96): time 0.03077/0.6078, allocations: 7.087 MB / 0.6995 GB, free: 23.79 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.6079, allocations: 118.9 kB / 0.6996 GB, free: 23.66 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002354/0.6103, allocations: 1.084 MB / 0.7007 GB, free: 23.51 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000224/0.6105, allocations: 45.84 kB / 0.7007 GB, free: 23.48 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004176/0.6109, allocations: 0.4886 MB / 0.7012 GB, free: 23.38 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004738/0.6114, allocations: 374.6 kB / 0.7015 GB, free: 23.18 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007083/0.6121, allocations: 294.7 kB / 0.7018 GB, free: 23.15 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.891e-05/0.6122, allocations: 302.9 kB / 0.7021 GB, free: 22.85 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001817/0.614, allocations: 0.7602 MB / 0.7029 GB, free: 22.85 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002063/0.6161, allocations: 0.9391 MB / 0.7038 GB, free: 22.72 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02373/0.6398, allocations: 5.568 MB / 0.7092 GB, free: 22.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.334e-05/0.6399, allocations: 1.062 kB / 0.7092 GB, free: 22.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01394/0.6538, allocations: 4.338 MB / 0.7135 GB, free: 20.81 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.018e-05/0.6539, allocations: 62.75 kB / 0.7135 GB, free: 20.74 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/0.6539, allocations: 3.406 kB / 0.7135 GB, free: 20.74 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005542/0.6595, allocations: 1.51 MB / 0.715 GB, free: 20.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001562/0.6611, allocations: 299.6 kB / 0.7153 GB, free: 20.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01898/0.6801, allocations: 8.269 MB / 0.7234 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002113/0.6822, allocations: 207.9 kB / 0.7236 GB, free: 14.69 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003009/0.6825, allocations: 68.09 kB / 0.7236 GB, free: 14.66 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.0008027/0.6834, allocations: 298.4 kB / 0.7239 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003556/0.6837, allocations: 134.1 kB / 0.724 GB, free: 14.34 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01244/0.6962, allocations: 3.874 MB / 0.7278 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/0.6962, allocations: 7.875 kB / 0.7278 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.232e-05/0.6963, allocations: 7.531 kB / 0.7278 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.778e-05/0.6963, allocations: 5.578 kB / 0.7278 GB, free: 12.34 MB / 494.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.01442/0.7107, allocations: 5.469 MB / 0.7332 GB, free: 6.891 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/0.7108, allocations: 0 / 0.7332 GB, free: 6.891 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006111/0.7114, allocations: 95.89 kB / 0.7333 GB, free: 6.797 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005129/0.7165, allocations: 1.593 MB / 0.7348 GB, free: 5.199 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001925/0.7168, allocations: 23.98 kB / 0.7348 GB, free: 5.176 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02058/0.7373, allocations: 9.645 MB / 0.7443 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.7374, allocations: 1.016 kB / 0.7443 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01644/0.7538, allocations: 4.737 MB / 0.7489 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005875/0.7545, allocations: 234.1 kB / 0.7491 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000396/0.7549, allocations: 16 kB / 0.7491 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001372/0.7563, allocations: 110.2 kB / 0.7492 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008135/0.7571, allocations: 200.7 kB / 0.7494 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001333/0.7572, allocations: 24.08 kB / 0.7494 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001566/0.7588, allocations: 0.739 MB / 0.7502 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7588, allocations: 0 / 0.7502 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001821/0.7607, allocations: 475.6 kB / 0.7506 GB, free: 4.711 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.0003603/0.761, allocations: 134.2 kB / 0.7507 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007181/0.7682, allocations: 2.501 MB / 0.7532 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/0.7683, allocations: 0 / 0.7532 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004843/0.7731, allocations: 1.594 MB / 0.7547 GB, free: 400 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/0.7745, allocations: 118.2 kB / 0.7549 GB, free: 284 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004986/0.7795, allocations: 2.322 MB / 0.7571 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009445/0.7805, allocations: 1.124 MB / 0.7582 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004108/0.7809, allocations: 91.34 kB / 0.7583 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of SimCode: time 7.01e-07/0.7809, allocations: 0 / 0.7583 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of Templates: time 0.03733/0.8182, allocations: 23.52 MB / 0.7813 GB, free: 5.211 MB / 0.5294 GB " [Timeout remaining time 659] 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: 10.004293038044125] Failed to read output from testmodel.py, exit status != 0: 0.8265122859738767 0.839114901 0.642876577 Calling exit ...