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.001891/0.001891, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.502/1.502, allocations: 177.1 MB / 199.7 MB, free: 4.801 MB / 186.7 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.002116/0.002116, allocations: 161.3 kB / 256.3 MB, free: 336 kB / 234.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.6086/0.6086, allocations: 80.36 MB / 393.1 MB, free: 9.984 MB / 314.7 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.673e-06/1.673e-06, allocations: 0 / 489.3 MB, free: 10.16 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.006e-05/3.173e-05, allocations: 2.312 kB / 489.3 MB, free: 10.15 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.008754/0.008785, allocations: 6.249 MB / 495.5 MB, free: 3.875 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004871/0.01366, allocations: 1.966 MB / 497.5 MB, free: 1.902 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008621/0.01452, allocations: 8 kB / 497.5 MB, free: 1.895 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008338/0.01535, allocations: 237.9 kB / 497.7 MB, free: 1.66 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00254/0.01789, allocations: 0.8737 MB / 498.6 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001533/0.01942, allocations: 0.6432 MB / 499.2 MB, free: 140 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1977/0.2171, allocations: 1.573 MB / 0.4891 GB, free: 44.65 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005178/0.2176, allocations: 213.3 kB / 0.4893 GB, free: 44.62 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001484/0.2191, allocations: 0.9066 MB / 0.4902 GB, free: 44.52 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008291/0.2199, allocations: 0.6701 MB / 0.4908 GB, free: 44.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002031/0.2201, allocations: 121.8 kB / 0.4909 GB, free: 44.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005421/0.2207, allocations: 267 kB / 0.4912 GB, free: 44.44 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002385/0.2209, allocations: 337.6 kB / 0.4915 GB, free: 44.37 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004116/0.2213, allocations: 459.5 kB / 0.4919 GB, free: 44.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001605/0.2229, allocations: 1.741 MB / 0.4936 GB, free: 44.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2229, allocations: 0 / 0.4936 GB, free: 44.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2229, allocations: 0.5312 kB / 0.4936 GB, free: 44.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.128e-05/0.2229, allocations: 0.5938 kB / 0.4936 GB, free: 44.12 MB / 410.7 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.008925/0.2319, allocations: 3.05 MB / 0.4966 GB, free: 42.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.2319, allocations: 9.688 kB / 0.4966 GB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005077/0.237, allocations: 0.9294 MB / 0.4975 GB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001697/0.2387, allocations: 0.8287 MB / 0.4983 GB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002465/0.2389, allocations: 334.5 kB / 0.4987 GB, free: 41.74 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/0.2391, allocations: 88.42 kB / 0.4988 GB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/0.241, allocations: 1.11 MB / 0.4998 GB, free: 41.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/0.241, allocations: 0 / 0.4998 GB, free: 41.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.581e-05/0.2411, allocations: 32.62 kB / 0.4999 GB, free: 41.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.2411, allocations: 19.31 kB / 0.4999 GB, free: 41.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001713/0.2428, allocations: 0.9476 MB / 0.5008 GB, free: 40.98 MB / 410.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.0059/0.2487, allocations: 3.156 MB / 0.5039 GB, free: 39.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005562/0.2543, allocations: 1.597 MB / 0.5055 GB, free: 39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001302/0.2556, allocations: 0.6194 MB / 0.5061 GB, free: 38.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.2557, allocations: 21.38 kB / 0.5061 GB, free: 38.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001392/0.2571, allocations: 0.8452 MB / 0.5069 GB, free: 38.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 3.617e-06/0.2571, allocations: 0.7188 kB / 0.5069 GB, free: 38.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=96): time 0.02529/0.2824, allocations: 6.127 MB / 0.5129 GB, free: 37.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.902e-05/0.2824, allocations: 123.1 kB / 0.513 GB, free: 37.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001787/0.2842, allocations: 1.242 MB / 0.5142 GB, free: 36.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003039/0.2845, allocations: 47.11 kB / 0.5143 GB, free: 36.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003791/0.2849, allocations: 0.5899 MB / 0.5148 GB, free: 36.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004224/0.2853, allocations: 395.2 kB / 0.5152 GB, free: 36.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005009/0.2858, allocations: 334.4 kB / 0.5155 GB, free: 35.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.9e-05/0.2859, allocations: 476.8 kB / 0.516 GB, free: 35.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/0.2872, allocations: 0.7503 MB / 0.5167 GB, free: 35.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001422/0.2886, allocations: 0.9974 MB / 0.5177 GB, free: 34.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004484/0.2931, allocations: 2.704 MB / 0.5203 GB, free: 33.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/0.2931, allocations: 1.344 kB / 0.5203 GB, free: 33.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01219/0.3053, allocations: 3.961 MB / 0.5242 GB, free: 32.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.173e-05/0.3054, allocations: 63.31 kB / 0.5243 GB, free: 32.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.3054, allocations: 10.19 kB / 0.5243 GB, free: 32.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009753/0.3152, allocations: 1.912 MB / 0.5261 GB, free: 32.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001703/0.3169, allocations: 294.2 kB / 0.5264 GB, free: 32.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01796/0.3348, allocations: 8.036 MB / 0.5343 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001989/0.3368, allocations: 166.3 kB / 0.5344 GB, free: 28.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001808/0.337, allocations: 54.88 kB / 0.5345 GB, free: 28.02 MB / 410.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: 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 (161): * Single equations (assignments): 158 * 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.0006231/0.3376, allocations: 343.1 kB / 0.5348 GB, free: 27.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002945/0.3379, allocations: 165.5 kB / 0.535 GB, free: 27.65 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01112/0.349, allocations: 3.433 MB / 0.5383 GB, free: 25.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/0.3491, allocations: 11 kB / 0.5383 GB, free: 25.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/0.3491, allocations: 8 kB / 0.5383 GB, free: 25.53 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.932e-05/0.3491, allocations: 9.766 kB / 0.5383 GB, free: 25.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01264/0.3617, allocations: 4.715 MB / 0.543 GB, free: 21.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.308e-05/0.3617, allocations: 0 / 0.543 GB, free: 21.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006605/0.3624, allocations: 103.7 kB / 0.5431 GB, free: 21.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00902/0.3714, allocations: 2.023 MB / 0.545 GB, free: 19.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000285/0.3717, allocations: 24 kB / 0.545 GB, free: 19.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01682/0.3885, allocations: 9.878 MB / 0.5547 GB, free: 8.965 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3885, allocations: 3.562 kB / 0.5547 GB, free: 8.965 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01196/0.4005, allocations: 4.371 MB / 0.559 GB, free: 4.574 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004643/0.401, allocations: 148.1 kB / 0.5591 GB, free: 4.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001854/0.4011, allocations: 20 kB / 0.5591 GB, free: 4.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/0.4022, allocations: 79.92 kB / 0.5592 GB, free: 4.332 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005564/0.4027, allocations: 200.6 kB / 0.5594 GB, free: 4.137 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.634e-05/0.4028, allocations: 31.98 kB / 0.5594 GB, free: 4.105 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008339/0.4036, allocations: 0.7774 MB / 0.5602 GB, free: 3.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4036, allocations: 0 / 0.5602 GB, free: 3.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001311/0.4049, allocations: 475.3 kB / 0.5606 GB, free: 2.859 MB / 410.7 MB 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.0002908/0.4052, allocations: 146.5 kB / 0.5608 GB, free: 2.715 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005179/0.4104, allocations: 2.443 MB / 0.5632 GB, free: 236 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.4104, allocations: 0 / 0.5632 GB, free: 236 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004237/0.4147, allocations: 1.61 MB / 0.5647 GB, free: 14.58 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.4158, allocations: 137 kB / 0.5649 GB, free: 14.45 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004452/0.4202, allocations: 2.234 MB / 0.567 GB, free: 12.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008598/0.4211, allocations: 0.5276 MB / 0.5676 GB, free: 11.64 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004423/0.4215, allocations: 117.1 kB / 0.5677 GB, free: 11.53 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002894/0.4218, allocations: 80.48 kB / 0.5678 GB, free: 11.45 MB / 426.7 MB Notification: Performance of SimCode: time 1.563e-06/0.4218, allocations: 4 kB / 0.5678 GB, free: 11.45 MB / 426.7 MB Notification: Performance of Templates: time 0.04684/0.4686, allocations: 26.84 MB / 0.594 GB, free: 0.8672 MB / 442.7 MB " [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=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.638569933944382]