Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.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_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 175.3 kB / 16.07 MB, free: 5.727 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.436/1.436, allocations: 222.9 MB / 239.7 MB, free: 10.21 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007715/0.0007714, allocations: 92.94 kB / 290.5 MB, free: 11.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4862/0.4862, allocations: 78.42 MB / 419.6 MB, free: 9.801 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003603/0.0003603, allocations: 12 kB / 499.1 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.2984, allocations: 68.74 MB / 0.5545 GB, free: 20.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG): time 0.00579/0.3042, allocations: 6.66 MB / 0.561 GB, free: 13.56 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004035/0.3083, allocations: 1.981 MB / 0.5629 GB, free: 11.57 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00154/0.3099, allocations: 15.94 kB / 0.563 GB, free: 11.56 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008313/0.3107, allocations: 186.8 kB / 0.5631 GB, free: 11.38 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001625/0.3124, allocations: 0.6431 MB / 0.5638 GB, free: 10.73 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.3136, allocations: 0.6148 MB / 0.5644 GB, free: 10.12 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008958/0.3145, allocations: 1.385 MB / 0.5657 GB, free: 8.73 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003255/0.3148, allocations: 283.4 kB / 0.566 GB, free: 8.445 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004932/0.3153, allocations: 0.5286 MB / 0.5665 GB, free: 7.914 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005151/0.3159, allocations: 0.6569 MB / 0.5671 GB, free: 7.254 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.316, allocations: 52 kB / 0.5672 GB, free: 7.203 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000371/0.3163, allocations: 175.9 kB / 0.5674 GB, free: 7.031 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001827/0.3165, allocations: 234.8 kB / 0.5676 GB, free: 6.801 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003701/0.3169, allocations: 0.5472 MB / 0.5681 GB, free: 6.25 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007823/0.3177, allocations: 1.137 MB / 0.5692 GB, free: 5.109 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3177, allocations: 0 / 0.5692 GB, free: 5.109 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3177, allocations: 0 / 0.5692 GB, free: 5.109 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.401e-05/0.3178, allocations: 4 kB / 0.5692 GB, free: 5.105 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.006716/0.3245, allocations: 2.295 MB / 0.5715 GB, free: 2.758 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.3245, allocations: 12.03 kB / 0.5715 GB, free: 2.746 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004742/0.3293, allocations: 0.7788 MB / 0.5722 GB, free: 1.965 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.3305, allocations: 0.8111 MB / 0.573 GB, free: 1.098 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002227/0.3308, allocations: 252.2 kB / 0.5733 GB, free: 0.8125 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/0.3309, allocations: 79.91 kB / 0.5734 GB, free: 0.7344 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002404/0.3333, allocations: 1.122 MB / 0.5745 GB, free: 15.6 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.768e-05/0.3334, allocations: 7.938 kB / 0.5745 GB, free: 15.59 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.3335, allocations: 31.98 kB / 0.5745 GB, free: 15.56 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.235e-05/0.3335, allocations: 23.94 kB / 0.5745 GB, free: 15.54 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002352/0.3359, allocations: 1.07 MB / 0.5756 GB, free: 14.47 MB / 394.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.006096/0.342, allocations: 3.467 MB / 0.5789 GB, free: 10.85 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002274/0.3443, allocations: 1.415 MB / 0.5803 GB, free: 9.32 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001517/0.3458, allocations: 0.7499 MB / 0.5811 GB, free: 8.562 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.3459, allocations: 12.98 kB / 0.5811 GB, free: 8.551 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.081e-05/0.346, allocations: 47.55 kB / 0.5811 GB, free: 8.492 MB / 394.7 MB Notification: Performance of pre-optimization done (n=89): time 3.086e-06/0.346, allocations: 0 / 0.5811 GB, free: 8.492 MB / 394.7 MB Notification: Performance of matching and sorting (n=89): time 0.02628/0.3723, allocations: 6.855 MB / 0.5878 GB, free: 1.605 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.9e-05/0.3724, allocations: 90.11 kB / 0.5879 GB, free: 1.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001686/0.3741, allocations: 0.9419 MB / 0.5888 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002363/0.3744, allocations: 41.7 kB / 0.5889 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004061/0.3748, allocations: 492.5 kB / 0.5893 GB, free: 4 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004186/0.3752, allocations: 319.4 kB / 0.5896 GB, free: 15.69 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/0.3754, allocations: 101.7 kB / 0.5897 GB, free: 15.58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.3756, allocations: 349.9 kB / 0.5901 GB, free: 15.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001507/0.3771, allocations: 0.6897 MB / 0.5907 GB, free: 14.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001607/0.3787, allocations: 0.8189 MB / 0.5915 GB, free: 13.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01817/0.3969, allocations: 4.695 MB / 0.5961 GB, free: 8.965 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.949e-06/0.3969, allocations: 7.875 kB / 0.5961 GB, free: 8.957 MB / 410.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.01411/0.4111, allocations: 4.241 MB / 0.6003 GB, free: 4.699 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001462/0.4113, allocations: 155.7 kB / 0.6004 GB, free: 4.523 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.4113, allocations: 4 kB / 0.6004 GB, free: 4.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006293/0.4176, allocations: 1.788 MB / 0.6022 GB, free: 2.727 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009895/0.4186, allocations: 175.8 kB / 0.6023 GB, free: 2.555 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02051/0.4391, allocations: 8.596 MB / 0.6107 GB, free: 9.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/0.4408, allocations: 175 kB / 0.6109 GB, free: 9.648 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/0.4409, allocations: 39.98 kB / 0.6109 GB, free: 9.609 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.4409, allocations: 4 kB / 0.6109 GB, free: 9.605 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01324/0.4542, allocations: 4.097 MB / 0.6149 GB, free: 5.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.4543, allocations: 0 / 0.6149 GB, free: 5.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006192/0.4605, allocations: 1.784 MB / 0.6167 GB, free: 3.711 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009588/0.4614, allocations: 179.7 kB / 0.6169 GB, free: 3.535 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02019/0.4817, allocations: 8.581 MB / 0.6252 GB, free: 10.81 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/0.4832, allocations: 159.1 kB / 0.6254 GB, free: 10.65 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/0.4834, allocations: 43.98 kB / 0.6254 GB, free: 10.61 MB / 442.7 MB Warning: Assuming fixed start value for the following 3 variables: order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_Inputs_Outputs1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (105): * Single equations (assignments): 104 * 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.0005831/0.4839, allocations: 317.9 kB / 0.6257 GB, free: 10.29 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000215/0.4842, allocations: 122.5 kB / 0.6258 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01307/0.4972, allocations: 3.951 MB / 0.6297 GB, free: 6.195 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.726e-05/0.4973, allocations: 11.94 kB / 0.6297 GB, free: 6.184 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.4973, allocations: 0 / 0.6297 GB, free: 6.184 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.153e-05/0.4973, allocations: 3.984 kB / 0.6297 GB, free: 6.18 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01489/0.5122, allocations: 5.539 MB / 0.6351 GB, free: 0.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.569e-05/0.5123, allocations: 4 kB / 0.6351 GB, free: 0.4961 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006916/0.513, allocations: 103.9 kB / 0.6352 GB, free: 404 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005891/0.5189, allocations: 1.737 MB / 0.6369 GB, free: 14.65 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002017/0.5192, allocations: 16 kB / 0.6369 GB, free: 14.64 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01707/0.5362, allocations: 7.355 MB / 0.6441 GB, free: 7.141 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.5363, allocations: 0 / 0.6441 GB, free: 7.141 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01527/0.5516, allocations: 4.849 MB / 0.6489 GB, free: 2.266 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000485/0.5521, allocations: 211.4 kB / 0.6491 GB, free: 2.039 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001866/0.5523, allocations: 16 kB / 0.6491 GB, free: 2.023 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/0.5534, allocations: 107.9 kB / 0.6492 GB, free: 1.918 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006611/0.5541, allocations: 204.5 kB / 0.6494 GB, free: 1.719 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.57e-05/0.5541, allocations: 16 kB / 0.6494 GB, free: 1.703 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009444/0.5551, allocations: 0.6471 MB / 0.65 GB, free: 1.047 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.5551, allocations: 0 / 0.65 GB, free: 1.047 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001987/0.5571, allocations: 0.7021 MB / 0.6507 GB, free: 352 kB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,TGTypeII1.transferFunction1.x_scaled[1]) * 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 (56): * Single equations (assignments): 55 * 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.0002825/0.5574, allocations: 127.2 kB / 0.6508 GB, free: 216 kB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01161/0.569, allocations: 4.086 MB / 0.6548 GB, free: 12.11 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.094e-06/0.5691, allocations: 0 / 0.6548 GB, free: 12.11 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004693/0.5738, allocations: 1.515 MB / 0.6563 GB, free: 10.58 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.5749, allocations: 100.3 kB / 0.6564 GB, free: 10.48 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00453/0.5794, allocations: 2.511 MB / 0.6588 GB, free: 7.938 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007249/0.5802, allocations: 1.105 MB / 0.6599 GB, free: 6.805 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003127/0.5805, allocations: 67.42 kB / 0.66 GB, free: 6.738 MB / 474.7 MB Notification: Performance of SimCode: time 3.987e-06/0.5805, allocations: 0 / 0.66 GB, free: 6.738 MB / 474.7 MB Notification: Performance of Templates: time 0.02881/0.6093, allocations: 20.94 MB / 0.6804 GB, free: 1.781 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe 2>&1)