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.0009866/0.0009866, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.9496/0.9496, allocations: 177.1 MB / 200.5 MB, free: 5.832 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.001398/0.001398, allocations: 168.6 kB / 257 MB, free: 13.2 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.291/0.291, allocations: 80.36 MB / 393.8 MB, free: 2.188 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_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.753e-06/1.753e-06, allocations: 0 / 490 MB, free: 11.8 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.882e-05/3.058e-05, allocations: 2.312 kB / 490 MB, free: 11.8 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.00712/0.00715, allocations: 5.949 MB / 495.9 MB, free: 5.832 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004384/0.01153, allocations: 1.865 MB / 497.8 MB, free: 3.973 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000876/0.01241, allocations: 9.719 kB / 497.8 MB, free: 3.965 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007753/0.01319, allocations: 210.1 kB / 498 MB, free: 3.758 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001772/0.01496, allocations: 0.8073 MB / 498.8 MB, free: 2.953 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009562/0.01591, allocations: 0.5878 MB / 499.4 MB, free: 2.379 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001208/0.01712, allocations: 1.424 MB / 0.4891 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003443/0.01747, allocations: 180.4 kB / 0.4893 GB, free: 0.7617 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00101/0.01848, allocations: 0.8235 MB / 0.4901 GB, free: 15.94 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006348/0.01911, allocations: 0.6114 MB / 0.4907 GB, free: 15.32 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001444/0.01926, allocations: 104 kB / 0.4908 GB, free: 15.22 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003934/0.01965, allocations: 252.3 kB / 0.491 GB, free: 14.98 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000175/0.01982, allocations: 294.7 kB / 0.4913 GB, free: 14.69 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002942/0.02012, allocations: 419.2 kB / 0.4917 GB, free: 14.28 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.02114, allocations: 1.137 MB / 0.4928 GB, free: 13.14 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.02114, allocations: 0 / 0.4928 GB, free: 13.14 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.02114, allocations: 0 / 0.4928 GB, free: 13.14 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.368e-05/0.02116, allocations: 0 / 0.4928 GB, free: 13.14 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.004598/0.02575, allocations: 2.583 MB / 0.4953 GB, free: 10.54 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.02579, allocations: 12.56 kB / 0.4953 GB, free: 10.53 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003021/0.02881, allocations: 0.8994 MB / 0.4962 GB, free: 9.633 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007879/0.0296, allocations: 0.7243 MB / 0.4969 GB, free: 8.871 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002129/0.02981, allocations: 355 kB / 0.4973 GB, free: 8.465 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.02993, allocations: 83.94 kB / 0.4973 GB, free: 8.383 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.03103, allocations: 0.8191 MB / 0.4981 GB, free: 7.527 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.03104, allocations: 0 / 0.4981 GB, free: 7.527 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.745e-05/0.03111, allocations: 31.98 kB / 0.4982 GB, free: 7.496 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/0.03113, allocations: 19.94 kB / 0.4982 GB, free: 7.477 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008027/0.03193, allocations: 455.5 kB / 0.4986 GB, free: 7.035 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.003374/0.0353, allocations: 2.605 MB / 0.5012 GB, free: 4.352 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002589/0.03789, allocations: 1.182 MB / 0.5023 GB, free: 3.145 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004269/0.03832, allocations: 309.1 kB / 0.5026 GB, free: 2.836 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.333e-05/0.03839, allocations: 16.66 kB / 0.5026 GB, free: 2.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.03842, allocations: 49.98 kB / 0.5027 GB, free: 2.762 MB / 426.7 MB Notification: Performance of pre-optimization done (n=92): time 2.144e-06/0.03842, allocations: 0 / 0.5027 GB, free: 2.762 MB / 426.7 MB Notification: Performance of matching and sorting (n=92): time 0.01157/0.04999, allocations: 4.798 MB / 0.5074 GB, free: 13.94 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.456e-05/0.05007, allocations: 105.6 kB / 0.5075 GB, free: 13.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007505/0.05082, allocations: 0.9001 MB / 0.5083 GB, free: 12.9 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.001e-05/0.05089, allocations: 41.7 kB / 0.5084 GB, free: 12.85 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002855/0.05117, allocations: 0.5117 MB / 0.5089 GB, free: 12.33 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002151/0.05139, allocations: 337.2 kB / 0.5092 GB, free: 12 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002903/0.05168, allocations: 252.5 kB / 0.5094 GB, free: 11.75 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.05184, allocations: 0.5238 MB / 0.51 GB, free: 11.21 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005117/0.05236, allocations: 347.1 kB / 0.5103 GB, free: 10.88 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000615/0.05297, allocations: 0.5674 MB / 0.5108 GB, free: 10.23 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001672/0.05464, allocations: 1.405 MB / 0.5122 GB, free: 8.758 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.05465, allocations: 4 kB / 0.5122 GB, free: 8.754 MB / 442.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.005487/0.06014, allocations: 2.813 MB / 0.515 GB, free: 5.926 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.06016, allocations: 8 kB / 0.515 GB, free: 5.918 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.06017, allocations: 4 kB / 0.515 GB, free: 5.914 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004444/0.06461, allocations: 1.55 MB / 0.5165 GB, free: 4.359 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005977/0.06521, allocations: 239.6 kB / 0.5167 GB, free: 4.125 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006813/0.07203, allocations: 4.306 MB / 0.5209 GB, free: 15.69 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006522/0.07268, allocations: 143.2 kB / 0.5211 GB, free: 15.55 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.945e-05/0.07275, allocations: 47.98 kB / 0.5211 GB, free: 15.5 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 (139): * Single equations (assignments): 138 * 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 {(20,11,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003489/0.0731, allocations: 237.4 kB / 0.5213 GB, free: 15.26 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005144/0.07361, allocations: 328.1 kB / 0.5216 GB, free: 14.93 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004692/0.0783, allocations: 2.361 MB / 0.524 GB, free: 12.55 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.07831, allocations: 8 kB / 0.524 GB, free: 12.54 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.07832, allocations: 8 kB / 0.524 GB, free: 12.54 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.507e-06/0.07833, allocations: 7.922 kB / 0.524 GB, free: 12.53 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005936/0.08426, allocations: 3.342 MB / 0.5272 GB, free: 9.129 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.08427, allocations: 0 / 0.5272 GB, free: 9.129 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000296/0.08456, allocations: 111.8 kB / 0.5273 GB, free: 9.02 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00456/0.08912, allocations: 1.603 MB / 0.5289 GB, free: 7.406 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.169e-05/0.08919, allocations: 23.98 kB / 0.5289 GB, free: 7.383 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007841/0.09703, allocations: 8.518 MB / 0.5373 GB, free: 14.55 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.09703, allocations: 4 kB / 0.5373 GB, free: 14.54 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005721/0.1028, allocations: 2.917 MB / 0.5401 GB, free: 11.59 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001605/0.1029, allocations: 131 kB / 0.5402 GB, free: 11.46 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.103, allocations: 20 kB / 0.5403 GB, free: 11.45 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004252/0.1034, allocations: 71.97 kB / 0.5403 GB, free: 11.38 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003348/0.1038, allocations: 172.7 kB / 0.5405 GB, free: 11.21 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-05/0.1038, allocations: 23.94 kB / 0.5405 GB, free: 11.18 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005183/0.1043, allocations: 0.576 MB / 0.5411 GB, free: 10.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1043, allocations: 0 / 0.5411 GB, free: 10.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001006/0.1054, allocations: 431.6 kB / 0.5415 GB, free: 10.18 MB / 474.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.0003047/0.1057, allocations: 139.1 kB / 0.5416 GB, free: 10.03 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002645/0.1083, allocations: 1.553 MB / 0.5431 GB, free: 8.449 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1083, allocations: 0 / 0.5431 GB, free: 8.449 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001592/0.1099, allocations: 0.989 MB / 0.5441 GB, free: 7.434 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008177/0.1107, allocations: 385.9 kB / 0.5445 GB, free: 7.039 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002894/0.1136, allocations: 1.881 MB / 0.5463 GB, free: 5.121 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/0.1138, allocations: 225.1 kB / 0.5465 GB, free: 4.883 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002014/0.114, allocations: 95.12 kB / 0.5466 GB, free: 4.785 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001734/0.1142, allocations: 80.48 kB / 0.5467 GB, free: 4.707 MB / 474.7 MB Notification: Performance of SimCode: time 1.021e-06/0.1142, allocations: 0 / 0.5467 GB, free: 4.707 MB / 474.7 MB Notification: Performance of Templates: time 0.02635/0.1405, allocations: 24.52 MB / 0.5706 GB, free: 12.3 MB / 0.4948 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=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.418141502188519]