Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 179.5 kB / 15.45 MB, free: 6.227 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.241/1.241, allocations: 223.3 MB / 239.5 MB, free: 1.598 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007035/0.0007035, allocations: 92.69 kB / 290.7 MB, free: 13.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4317/0.4317, allocations: 78.62 MB / 420.4 MB, free: 44.16 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003372/0.0003372, allocations: 12 kB / 0.4888 GB, free: 2.547 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.3579, allocations: 69.34 MB / 0.5565 GB, free: 39.06 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.00494/0.3629, allocations: 6.304 MB / 0.5627 GB, free: 36.25 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003751/0.3667, allocations: 1.895 MB / 0.5645 GB, free: 35.46 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005928/0.3673, allocations: 12.56 kB / 0.5645 GB, free: 35.46 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004579/0.3678, allocations: 170.3 kB / 0.5647 GB, free: 35.4 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00175/0.3695, allocations: 0.6373 MB / 0.5653 GB, free: 35.09 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.371, allocations: 0.5679 MB / 0.5659 GB, free: 34.98 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00151/0.3725, allocations: 1.349 MB / 0.5672 GB, free: 34.5 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003979/0.3729, allocations: 296.8 kB / 0.5675 GB, free: 34.36 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000603/0.3735, allocations: 0.5208 MB / 0.568 GB, free: 34.12 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005462/0.3741, allocations: 0.6615 MB / 0.5686 GB, free: 33.81 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001192/0.3742, allocations: 53.31 kB / 0.5687 GB, free: 33.81 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003868/0.3746, allocations: 183.3 kB / 0.5688 GB, free: 33.77 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.3747, allocations: 231.3 kB / 0.5691 GB, free: 33.62 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003337/0.3751, allocations: 0.5879 MB / 0.5696 GB, free: 33.23 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009076/0.376, allocations: 1.423 MB / 0.571 GB, free: 32.67 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.376, allocations: 0 / 0.571 GB, free: 32.67 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.376, allocations: 6.906 kB / 0.571 GB, free: 32.67 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.376, allocations: 0 / 0.571 GB, free: 32.67 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.00616/0.3822, allocations: 2.386 MB / 0.5734 GB, free: 31.63 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.3822, allocations: 11.64 kB / 0.5734 GB, free: 31.63 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004602/0.3868, allocations: 0.7888 MB / 0.5741 GB, free: 31.47 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.3882, allocations: 0.7741 MB / 0.5749 GB, free: 30.91 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002765/0.3884, allocations: 268.7 kB / 0.5752 GB, free: 30.69 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.3886, allocations: 77.81 kB / 0.5752 GB, free: 30.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002278/0.3909, allocations: 1.169 MB / 0.5764 GB, free: 30.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.3909, allocations: 3.938 kB / 0.5764 GB, free: 30.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.123e-05/0.391, allocations: 29.88 kB / 0.5764 GB, free: 30.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.391, allocations: 18.09 kB / 0.5764 GB, free: 30.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002348/0.3934, allocations: 1.241 MB / 0.5776 GB, free: 29.89 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.004985/0.3984, allocations: 3.536 MB / 0.5811 GB, free: 27.89 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001808/0.4002, allocations: 1.511 MB / 0.5826 GB, free: 26.96 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001492/0.4017, allocations: 0.8818 MB / 0.5834 GB, free: 26.64 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001156/0.4018, allocations: 9.812 kB / 0.5834 GB, free: 26.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.4019, allocations: 45.34 kB / 0.5835 GB, free: 26.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=97): time 3.276e-06/0.4019, allocations: 0 / 0.5835 GB, free: 26.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=97): time 0.02329/0.4252, allocations: 8.198 MB / 0.5915 GB, free: 25.16 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.4253, allocations: 73.92 kB / 0.5915 GB, free: 25.09 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/0.4265, allocations: 0.8945 MB / 0.5924 GB, free: 24.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001951/0.4267, allocations: 52.05 kB / 0.5925 GB, free: 24.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002688/0.427, allocations: 0.4895 MB / 0.5929 GB, free: 24.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002666/0.4272, allocations: 347.4 kB / 0.5933 GB, free: 23.99 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.4274, allocations: 103.5 kB / 0.5934 GB, free: 23.94 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.466e-05/0.4275, allocations: 344.9 kB / 0.5937 GB, free: 23.62 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001559/0.429, allocations: 0.8163 MB / 0.5945 GB, free: 23.35 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001671/0.4307, allocations: 0.9444 MB / 0.5954 GB, free: 22.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01798/0.4487, allocations: 5.4 MB / 0.6007 GB, free: 21.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/0.4487, allocations: 1 kB / 0.6007 GB, free: 21.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01467/0.4634, allocations: 5.211 MB / 0.6058 GB, free: 20.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.682e-05/0.4635, allocations: 10.34 kB / 0.6058 GB, free: 20.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.4635, allocations: 10.94 kB / 0.6058 GB, free: 20.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006904/0.4704, allocations: 2.111 MB / 0.6079 GB, free: 20.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/0.4717, allocations: 228.5 kB / 0.6081 GB, free: 20.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01938/0.4911, allocations: 9.566 MB / 0.6174 GB, free: 11.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/0.4926, allocations: 227 kB / 0.6176 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.994e-05/0.4927, allocations: 39.98 kB / 0.6177 GB, free: 11.07 MB / 426.7 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_Inputs_Outputs1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 110 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0005133/0.4933, allocations: 253.9 kB / 0.6179 GB, free: 10.81 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/0.4934, allocations: 118.5 kB / 0.618 GB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01208/0.5055, allocations: 4.952 MB / 0.6229 GB, free: 5.723 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-05/0.5056, allocations: 8 kB / 0.6229 GB, free: 5.715 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.5056, allocations: 4 kB / 0.6229 GB, free: 5.711 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.407e-05/0.5056, allocations: 7.922 kB / 0.6229 GB, free: 5.703 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01376/0.5194, allocations: 6.566 MB / 0.6293 GB, free: 15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.296e-05/0.5194, allocations: 3.938 kB / 0.6293 GB, free: 15 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007734/0.5202, allocations: 143.8 kB / 0.6294 GB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00591/0.5261, allocations: 2.057 MB / 0.6315 GB, free: 12.79 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002085/0.5264, allocations: 16 kB / 0.6315 GB, free: 12.78 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01757/0.544, allocations: 8.225 MB / 0.6395 GB, free: 4.41 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.544, allocations: 0 / 0.6395 GB, free: 4.41 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0155/0.5595, allocations: 5.993 MB / 0.6454 GB, free: 14.39 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005506/0.5601, allocations: 211.3 kB / 0.6456 GB, free: 14.17 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001939/0.5603, allocations: 20 kB / 0.6456 GB, free: 14.15 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/0.5614, allocations: 163.9 kB / 0.6457 GB, free: 13.99 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007508/0.5621, allocations: 212.5 kB / 0.6459 GB, free: 13.78 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-05/0.5622, allocations: 23.98 kB / 0.646 GB, free: 13.75 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007943/0.563, allocations: 0.6008 MB / 0.6465 GB, free: 13.14 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.563, allocations: 0 / 0.6465 GB, free: 13.14 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001367/0.5644, allocations: 439.5 kB / 0.647 GB, free: 12.71 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 63 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002818/0.5647, allocations: 133.7 kB / 0.6471 GB, free: 12.57 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006886/0.5716, allocations: 2.79 MB / 0.6498 GB, free: 9.781 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.85e-06/0.5716, allocations: 0 / 0.6498 GB, free: 9.781 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004819/0.5765, allocations: 1.802 MB / 0.6516 GB, free: 7.961 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/0.5779, allocations: 89.2 kB / 0.6517 GB, free: 7.875 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00412/0.582, allocations: 2.489 MB / 0.6541 GB, free: 5.367 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007187/0.5828, allocations: 1.095 MB / 0.6552 GB, free: 4.242 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004415/0.5832, allocations: 90.77 kB / 0.6553 GB, free: 4.148 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000259/0.5835, allocations: 67.41 kB / 0.6553 GB, free: 4.086 MB / 458.7 MB Notification: Performance of SimCode: time 1.082e-06/0.5835, allocations: 0 / 0.6553 GB, free: 4.086 MB / 458.7 MB Notification: Performance of Templates: time 0.03316/0.6167, allocations: 20.7 MB / 0.6755 GB, free: 15.42 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)