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.007644/0.007644, allocations: 164.3 kB / 15.13 MB, free: 5.582 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.406/1.406, allocations: 223.3 MB / 239.1 MB, free: 1.695 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.0009367/0.0009364, allocations: 105.8 kB / 290.3 MB, free: 13.89 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4576/0.4576, allocations: 78.61 MB / 420 MB, free: 44.14 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003823/0.0003823, allocations: 8 kB / 499.9 MB, free: 2.934 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.3767, allocations: 69.35 MB / 0.5559 GB, free: 39.04 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.005399/0.3821, allocations: 5.918 MB / 0.5617 GB, free: 37.79 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004346/0.3865, allocations: 1.806 MB / 0.5634 GB, free: 36.5 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009431/0.3875, allocations: 11.5 kB / 0.5634 GB, free: 36.5 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005373/0.388, allocations: 152.1 kB / 0.5636 GB, free: 36.44 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001771/0.3898, allocations: 0.6026 MB / 0.5642 GB, free: 36.03 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001325/0.3911, allocations: 0.5134 MB / 0.5647 GB, free: 35.77 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001692/0.3928, allocations: 1.282 MB / 0.5659 GB, free: 35.11 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005584/0.3934, allocations: 264.3 kB / 0.5662 GB, free: 35 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009939/0.3944, allocations: 0.5046 MB / 0.5667 GB, free: 34.77 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007504/0.3952, allocations: 0.648 MB / 0.5673 GB, free: 34.48 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001365/0.3953, allocations: 53.16 kB / 0.5674 GB, free: 34.48 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000539/0.3959, allocations: 175.7 kB / 0.5675 GB, free: 34.44 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001785/0.396, allocations: 217.8 kB / 0.5677 GB, free: 34.31 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002194/0.3963, allocations: 224.3 kB / 0.568 GB, free: 34.17 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009081/0.3972, allocations: 1.096 MB / 0.569 GB, free: 33.82 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3972, allocations: 0 / 0.569 GB, free: 33.82 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3972, allocations: 0 / 0.569 GB, free: 33.82 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.38e-05/0.3972, allocations: 0 / 0.569 GB, free: 33.82 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.00719/0.4044, allocations: 2.404 MB / 0.5714 GB, free: 32.79 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.4045, allocations: 11.06 kB / 0.5714 GB, free: 32.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004741/0.4092, allocations: 0.7917 MB / 0.5722 GB, free: 32.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.4104, allocations: 0.7352 MB / 0.5729 GB, free: 32.11 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002536/0.4107, allocations: 274.7 kB / 0.5731 GB, free: 31.88 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.4108, allocations: 74.81 kB / 0.5732 GB, free: 31.86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002205/0.413, allocations: 1.165 MB / 0.5743 GB, free: 31.46 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.413, allocations: 0 / 0.5743 GB, free: 31.46 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.749e-05/0.4131, allocations: 29.81 kB / 0.5744 GB, free: 31.44 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.4132, allocations: 21.73 kB / 0.5744 GB, free: 31.43 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0025/0.4157, allocations: 1.238 MB / 0.5756 GB, free: 31.07 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.005351/0.421, allocations: 3.524 MB / 0.579 GB, free: 29.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001934/0.423, allocations: 1.517 MB / 0.5805 GB, free: 28.15 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001553/0.4245, allocations: 0.8722 MB / 0.5814 GB, free: 27.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.659e-05/0.4246, allocations: 13.08 kB / 0.5814 GB, free: 27.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.4247, allocations: 50.31 kB / 0.5814 GB, free: 27.78 MB / 426.7 MB Notification: Performance of pre-optimization done (n=97): time 3.396e-06/0.4247, allocations: 0 / 0.5814 GB, free: 27.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=97): time 0.02646/0.4511, allocations: 8.164 MB / 0.5894 GB, free: 26.36 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.4512, allocations: 65.78 kB / 0.5895 GB, free: 26.29 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/0.4526, allocations: 0.8922 MB / 0.5903 GB, free: 25.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002137/0.4528, allocations: 45.3 kB / 0.5904 GB, free: 25.87 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003086/0.4531, allocations: 496.2 kB / 0.5909 GB, free: 25.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003162/0.4534, allocations: 346.9 kB / 0.5912 GB, free: 25.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.394e-05/0.4535, allocations: 20.69 kB / 0.5912 GB, free: 25.19 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.941e-05/0.4536, allocations: 353.3 kB / 0.5915 GB, free: 24.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001845/0.4555, allocations: 0.81 MB / 0.5923 GB, free: 24.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002114/0.4576, allocations: 0.9327 MB / 0.5932 GB, free: 24.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001927/0.4595, allocations: 0.8634 MB / 0.5941 GB, free: 23.89 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.034e-06/0.4596, allocations: 1.469 kB / 0.5941 GB, free: 23.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01611/0.4757, allocations: 5.211 MB / 0.5992 GB, free: 22.76 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.387e-05/0.4758, allocations: 5.844 kB / 0.5992 GB, free: 22.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.281e-05/0.4758, allocations: 3.297 kB / 0.5992 GB, free: 22.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008118/0.4839, allocations: 2.107 MB / 0.6012 GB, free: 22.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/0.4854, allocations: 233.8 kB / 0.6015 GB, free: 22.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02414/0.5095, allocations: 9.534 MB / 0.6108 GB, free: 17.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001837/0.5114, allocations: 228.6 kB / 0.611 GB, free: 17.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.5115, allocations: 44.12 kB / 0.611 GB, free: 17.13 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.e1q:VARIABLE(start = order3_Inputs_Outputs1.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: 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 (112): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 11} Notification: Performance of prepare postOptimizeDAE: time 0.0005115/0.5121, allocations: 235.6 kB / 0.6113 GB, free: 16.89 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001914/0.5123, allocations: 118.5 kB / 0.6114 GB, free: 16.78 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01385/0.5261, allocations: 4.954 MB / 0.6162 GB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.5262, allocations: 12 kB / 0.6162 GB, free: 12.08 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.5262, allocations: 3.984 kB / 0.6162 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.651e-05/0.5262, allocations: 3.984 kB / 0.6162 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01527/0.5415, allocations: 6.555 MB / 0.6226 GB, free: 5.375 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-05/0.5415, allocations: 0 / 0.6226 GB, free: 5.375 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008069/0.5424, allocations: 143.9 kB / 0.6228 GB, free: 5.234 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00596/0.5483, allocations: 2.058 MB / 0.6248 GB, free: 3.172 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002186/0.5486, allocations: 19.98 kB / 0.6248 GB, free: 3.152 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01819/0.5668, allocations: 8.21 MB / 0.6328 GB, free: 10.8 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.5668, allocations: 3.953 kB / 0.6328 GB, free: 10.8 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01717/0.584, allocations: 5.993 MB / 0.6387 GB, free: 4.785 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003967/0.5844, allocations: 207.3 kB / 0.6389 GB, free: 4.562 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000164/0.5846, allocations: 16 kB / 0.6389 GB, free: 4.547 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/0.5858, allocations: 151.9 kB / 0.639 GB, free: 4.398 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006574/0.5864, allocations: 216.6 kB / 0.6392 GB, free: 4.188 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.512e-05/0.5865, allocations: 24 kB / 0.6393 GB, free: 4.164 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007541/0.5873, allocations: 0.5969 MB / 0.6398 GB, free: 3.559 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5873, allocations: 0 / 0.6398 GB, free: 3.559 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001404/0.5887, allocations: 439.4 kB / 0.6403 GB, free: 3.129 MB / 442.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002794/0.589, allocations: 137.2 kB / 0.6404 GB, free: 2.988 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007661/0.5967, allocations: 2.767 MB / 0.6431 GB, free: 220 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.5967, allocations: 0 / 0.6431 GB, free: 220 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005205/0.6019, allocations: 1.799 MB / 0.6449 GB, free: 14.39 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009081/0.6028, allocations: 86.09 kB / 0.6449 GB, free: 14.31 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003789/0.6066, allocations: 2.364 MB / 0.6472 GB, free: 11.93 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006171/0.6073, allocations: 1.099 MB / 0.6483 GB, free: 10.8 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004098/0.6077, allocations: 82.77 kB / 0.6484 GB, free: 10.71 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002274/0.6079, allocations: 67.41 kB / 0.6485 GB, free: 10.65 MB / 458.7 MB Notification: Performance of SimCode: time 5.71e-07/0.6079, allocations: 4 kB / 0.6485 GB, free: 10.64 MB / 458.7 MB Notification: Performance of Templates: time 0.03192/0.6399, allocations: 20.15 MB / 0.6681 GB, free: 6.535 MB / 474.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)