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.001493/0.001493, allocations: 93.06 kB / 19.65 MB, free: 280 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 0.9356/0.9356, allocations: 177.2 MB / 200 MB, free: 5.496 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.001791/0.001791, allocations: 163.5 kB / 256.6 MB, free: 12.97 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.285/0.285, allocations: 83.27 MB / 396.4 MB, free: 15.21 MB / 330.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.553e-06/1.553e-06, allocations: 0 / 493.9 MB, free: 7.344 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.298e-05/2.454e-05, allocations: 3.344 kB / 493.9 MB, free: 7.34 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.005772/0.005796, allocations: 6.31 MB / 0.4885 GB, free: 1.012 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003611/0.009408, allocations: 1.968 MB / 0.4904 GB, free: 15.05 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007949/0.0102, allocations: 12 kB / 0.4904 GB, free: 15.04 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000687/0.01089, allocations: 237.9 kB / 0.4906 GB, free: 14.8 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001908/0.0128, allocations: 0.8852 MB / 0.4915 GB, free: 13.93 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.01388, allocations: 0.6418 MB / 0.4921 GB, free: 13.29 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00194/0.01582, allocations: 1.585 MB / 0.4937 GB, free: 11.7 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004592/0.01628, allocations: 214.8 kB / 0.4939 GB, free: 11.48 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001656/0.01794, allocations: 0.9078 MB / 0.4948 GB, free: 10.57 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001038/0.01898, allocations: 0.6703 MB / 0.4954 GB, free: 9.902 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004395/0.01942, allocations: 130 kB / 0.4956 GB, free: 9.777 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008014/0.02022, allocations: 267.8 kB / 0.4958 GB, free: 9.516 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00028/0.0205, allocations: 338.5 kB / 0.4961 GB, free: 9.184 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004768/0.02098, allocations: 458.5 kB / 0.4966 GB, free: 8.734 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001527/0.0225, allocations: 1.226 MB / 0.4978 GB, free: 7.504 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.02251, allocations: 0.9062 kB / 0.4978 GB, free: 7.504 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.02251, allocations: 0 / 0.4978 GB, free: 7.504 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.47e-05/0.02256, allocations: 1.5 kB / 0.4978 GB, free: 7.504 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.005391/0.02795, allocations: 2.915 MB / 0.5006 GB, free: 4.555 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.823e-05/0.028, allocations: 8.031 kB / 0.5006 GB, free: 4.547 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002865/0.03087, allocations: 0.9319 MB / 0.5015 GB, free: 3.617 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.03209, allocations: 0.7991 MB / 0.5023 GB, free: 2.773 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002431/0.03233, allocations: 333.3 kB / 0.5026 GB, free: 2.395 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.03246, allocations: 84 kB / 0.5027 GB, free: 2.312 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.03356, allocations: 0.7617 MB / 0.5035 GB, free: 1.527 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.03358, allocations: 0 / 0.5035 GB, free: 1.527 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.764e-05/0.03365, allocations: 31.94 kB / 0.5035 GB, free: 1.496 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.03367, allocations: 20 kB / 0.5035 GB, free: 1.477 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008717/0.03454, allocations: 0.4895 MB / 0.504 GB, free: 0.9805 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.004186/0.03873, allocations: 2.686 MB / 0.5066 GB, free: 14.22 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002675/0.0414, allocations: 1.258 MB / 0.5078 GB, free: 12.93 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004453/0.04185, allocations: 345.8 kB / 0.5082 GB, free: 12.59 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.575e-05/0.04192, allocations: 20.94 kB / 0.5082 GB, free: 12.56 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006393/0.04256, allocations: 0.5338 MB / 0.5087 GB, free: 12 MB / 442.7 MB Notification: Performance of pre-optimization done (n=96): time 2.565e-06/0.04256, allocations: 0 / 0.5087 GB, free: 12 MB / 442.7 MB Notification: Performance of matching and sorting (n=96): time 0.0121/0.05467, allocations: 4.989 MB / 0.5136 GB, free: 6.973 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/0.05472, allocations: 111.8 kB / 0.5137 GB, free: 6.84 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.05573, allocations: 0.9833 MB / 0.5146 GB, free: 5.84 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001196/0.05585, allocations: 45.7 kB / 0.5147 GB, free: 5.789 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003177/0.05616, allocations: 0.547 MB / 0.5152 GB, free: 5.234 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003034/0.05647, allocations: 376.8 kB / 0.5156 GB, free: 4.863 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003413/0.05681, allocations: 289.1 kB / 0.5159 GB, free: 4.574 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.05691, allocations: 484.7 kB / 0.5163 GB, free: 4.098 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006155/0.05752, allocations: 435.2 kB / 0.5167 GB, free: 3.66 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006791/0.0582, allocations: 0.6377 MB / 0.5174 GB, free: 2.957 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001881/0.06008, allocations: 1.641 MB / 0.519 GB, free: 1.23 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.717e-06/0.06009, allocations: 3.984 kB / 0.519 GB, free: 1.227 MB / 442.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.005802/0.06589, allocations: 3.043 MB / 0.5219 GB, free: 14.14 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.275e-05/0.06595, allocations: 63.41 kB / 0.522 GB, free: 14.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.06596, allocations: 4 kB / 0.522 GB, free: 14.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004248/0.07021, allocations: 1.522 MB / 0.5235 GB, free: 12.54 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009281/0.07114, allocations: 295.6 kB / 0.5238 GB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006865/0.078, allocations: 4.361 MB / 0.528 GB, free: 7.762 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.07908, allocations: 163.1 kB / 0.5282 GB, free: 7.602 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.774e-05/0.07917, allocations: 59.97 kB / 0.5282 GB, free: 7.543 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: 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.000465/0.07964, allocations: 259.2 kB / 0.5285 GB, free: 7.273 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002203/0.07986, allocations: 159.2 kB / 0.5286 GB, free: 7.117 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004888/0.08475, allocations: 2.58 MB / 0.5312 GB, free: 4.504 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.08476, allocations: 12 kB / 0.5312 GB, free: 4.492 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.08477, allocations: 8 kB / 0.5312 GB, free: 4.484 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.08478, allocations: 7.969 kB / 0.5312 GB, free: 4.477 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006283/0.09106, allocations: 3.651 MB / 0.5348 GB, free: 0.7539 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.09107, allocations: 0 / 0.5348 GB, free: 0.7539 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003215/0.09139, allocations: 103.9 kB / 0.5349 GB, free: 0.6523 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004332/0.09572, allocations: 1.638 MB / 0.5365 GB, free: 15 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000131/0.09585, allocations: 28 kB / 0.5365 GB, free: 14.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007734/0.1036, allocations: 6.358 MB / 0.5427 GB, free: 8.359 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1036, allocations: 0 / 0.5427 GB, free: 8.359 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005691/0.1093, allocations: 3.05 MB / 0.5457 GB, free: 5.258 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003454/0.1096, allocations: 146.9 kB / 0.5458 GB, free: 5.113 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.1098, allocations: 23.98 kB / 0.5458 GB, free: 5.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004814/0.1102, allocations: 75.92 kB / 0.5459 GB, free: 5.016 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004151/0.1106, allocations: 196.6 kB / 0.5461 GB, free: 4.824 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.9e-05/0.1107, allocations: 24 kB / 0.5461 GB, free: 4.801 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005835/0.1113, allocations: 0.6172 MB / 0.5467 GB, free: 4.176 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1113, allocations: 3.938 kB / 0.5467 GB, free: 4.172 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001068/0.1123, allocations: 467.6 kB / 0.5472 GB, free: 3.715 MB / 474.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 {(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.0002639/0.1126, allocations: 139.1 kB / 0.5473 GB, free: 3.57 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002919/0.1155, allocations: 1.81 MB / 0.5491 GB, free: 1.695 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.1155, allocations: 4 kB / 0.5491 GB, free: 1.691 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001805/0.1173, allocations: 1.319 MB / 0.5504 GB, free: 320 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000585/0.1179, allocations: 131.1 kB / 0.5505 GB, free: 188 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003128/0.1211, allocations: 2.067 MB / 0.5525 GB, free: 14.07 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.1213, allocations: 241.5 kB / 0.5527 GB, free: 13.81 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002675/0.1215, allocations: 116 kB / 0.5528 GB, free: 13.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001968/0.1217, allocations: 84.48 kB / 0.5529 GB, free: 13.61 MB / 490.7 MB Notification: Performance of SimCode: time 2.104e-06/0.1217, allocations: 0 / 0.5529 GB, free: 13.61 MB / 490.7 MB Notification: Performance of Templates: time 0.0317/0.1534, allocations: 27.67 MB / 0.5799 GB, free: 2.07 MB / 0.4948 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=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9953536302782595]