Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.238/1.238, allocations: 222.9 MB / 238.9 MB, free: 4.773 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 188.5 kB / 289.1 MB, free: 2.516 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4286/0.4286, allocations: 78.51 MB / 417.8 MB, free: 3.375 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 71.89 kB / 496.8 MB, free: 6.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1359, allocations: 68.19 MB / 0.5517 GB, free: 2.625 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.2361/0.372, allocations: 6.757 MB / 0.5583 GB, free: 36.11 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003326/0.3754, allocations: 1.915 MB / 0.5602 GB, free: 35.56 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005872/0.376, allocations: 16.84 kB / 0.5602 GB, free: 35.56 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005132/0.3765, allocations: 172.1 kB / 0.5603 GB, free: 35.55 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001418/0.378, allocations: 0.6303 MB / 0.561 GB, free: 35.41 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.3791, allocations: 0.5665 MB / 0.5615 GB, free: 35.33 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001167/0.3803, allocations: 1.346 MB / 0.5628 GB, free: 35.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003733/0.3806, allocations: 295.1 kB / 0.5631 GB, free: 35.22 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000582/0.3812, allocations: 0.5445 MB / 0.5636 GB, free: 35.09 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000536/0.3818, allocations: 0.7052 MB / 0.5643 GB, free: 34.9 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001246/0.3819, allocations: 66.75 kB / 0.5644 GB, free: 34.9 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004088/0.3823, allocations: 197.6 kB / 0.5646 GB, free: 34.89 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.3825, allocations: 243 kB / 0.5648 GB, free: 34.83 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004027/0.3829, allocations: 0.5923 MB / 0.5654 GB, free: 34.6 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.384, allocations: 1.465 MB / 0.5668 GB, free: 34.22 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.384, allocations: 0 / 0.5668 GB, free: 34.22 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.384, allocations: 0 / 0.5668 GB, free: 34.22 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.932e-05/0.384, allocations: 0 / 0.5668 GB, free: 34.22 MB / 430.1 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.007699/0.3917, allocations: 2.563 MB / 0.5693 GB, free: 33.32 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.3918, allocations: 9.562 kB / 0.5693 GB, free: 33.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004698/0.3965, allocations: 0.7828 MB / 0.5701 GB, free: 33.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.3975, allocations: 0.7661 MB / 0.5709 GB, free: 32.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002701/0.3978, allocations: 256.3 kB / 0.5711 GB, free: 32.62 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.398, allocations: 78.69 kB / 0.5712 GB, free: 32.62 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002352/0.4003, allocations: 1.077 MB / 0.5722 GB, free: 32.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.536e-05/0.4004, allocations: 7.938 kB / 0.5722 GB, free: 32.56 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/0.4005, allocations: 30.12 kB / 0.5723 GB, free: 32.56 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/0.4005, allocations: 18.22 kB / 0.5723 GB, free: 32.56 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00227/0.4028, allocations: 1.127 MB / 0.5734 GB, free: 32.54 MB / 430.1 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.005142/0.4079, allocations: 3.466 MB / 0.5768 GB, free: 31.54 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001769/0.4097, allocations: 1.43 MB / 0.5782 GB, free: 30.7 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001356/0.4111, allocations: 0.7783 MB / 0.5789 GB, free: 30.41 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001138/0.4112, allocations: 12.09 kB / 0.5789 GB, free: 30.4 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.4112, allocations: 47.47 kB / 0.579 GB, free: 30.35 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 2.805e-06/0.4112, allocations: 0 / 0.579 GB, free: 30.35 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.02358/0.4348, allocations: 6.605 MB / 0.5854 GB, free: 29.1 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.4349, allocations: 62.97 kB / 0.5855 GB, free: 29.04 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/0.4361, allocations: 0.901 MB / 0.5864 GB, free: 28.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002522/0.4364, allocations: 42.08 kB / 0.5864 GB, free: 28.61 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002945/0.4367, allocations: 497.2 kB / 0.5869 GB, free: 28.22 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003317/0.437, allocations: 355.8 kB / 0.5872 GB, free: 27.94 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003913/0.4374, allocations: 200.4 kB / 0.5874 GB, free: 27.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.773e-05/0.4375, allocations: 355.5 kB / 0.5877 GB, free: 27.51 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001566/0.4391, allocations: 0.7166 MB / 0.5884 GB, free: 27.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001629/0.4407, allocations: 0.8504 MB / 0.5893 GB, free: 26.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01808/0.4588, allocations: 4.828 MB / 0.594 GB, free: 25.58 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/0.4589, allocations: 1.5 kB / 0.594 GB, free: 25.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01346/0.4723, allocations: 4.27 MB / 0.5982 GB, free: 24.56 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/0.4724, allocations: 6.188 kB / 0.5982 GB, free: 24.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/0.4724, allocations: 8.062 kB / 0.5982 GB, free: 24.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006462/0.4789, allocations: 1.813 MB / 0.5999 GB, free: 24.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/0.4801, allocations: 203.3 kB / 0.6001 GB, free: 24.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01906/0.4992, allocations: 8.578 MB / 0.6085 GB, free: 19.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/0.5008, allocations: 178.7 kB / 0.6087 GB, free: 19.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001459/0.501, allocations: 40.2 kB / 0.6087 GB, free: 19.81 MB / 430.1 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.0005339/0.5015, allocations: 249.2 kB / 0.609 GB, free: 19.6 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002275/0.5018, allocations: 118.9 kB / 0.6091 GB, free: 19.54 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0116/0.5134, allocations: 4.007 MB / 0.613 GB, free: 16.49 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.5134, allocations: 12 kB / 0.613 GB, free: 16.48 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.5134, allocations: 5.781 kB / 0.613 GB, free: 16.47 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.353e-05/0.5135, allocations: 12.8 kB / 0.613 GB, free: 16.46 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01261/0.5261, allocations: 5.615 MB / 0.6185 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.5261, allocations: 0 / 0.6185 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006585/0.5268, allocations: 131.8 kB / 0.6186 GB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005033/0.5318, allocations: 1.746 MB / 0.6203 GB, free: 8.832 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001331/0.532, allocations: 16 kB / 0.6204 GB, free: 8.816 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01448/0.5465, allocations: 7.359 MB / 0.6275 GB, free: 1.316 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.5465, allocations: 0 / 0.6275 GB, free: 1.316 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01415/0.5607, allocations: 4.962 MB / 0.6324 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005307/0.5612, allocations: 200.1 kB / 0.6326 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003401/0.5616, allocations: 25.19 kB / 0.6326 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/0.5628, allocations: 111.9 kB / 0.6327 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007675/0.5636, allocations: 216.5 kB / 0.6329 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/0.5637, allocations: 20 kB / 0.6329 GB, free: 11.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008269/0.5645, allocations: 0.6086 MB / 0.6335 GB, free: 11.13 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5645, allocations: 0 / 0.6335 GB, free: 11.13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00188/0.5664, allocations: 439.4 kB / 0.6339 GB, free: 10.7 MB / 446.1 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.0003761/0.5668, allocations: 127.6 kB / 0.6341 GB, free: 10.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007039/0.5739, allocations: 2.453 MB / 0.6365 GB, free: 8.109 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.5739, allocations: 0 / 0.6365 GB, free: 8.109 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004662/0.5786, allocations: 1.554 MB / 0.638 GB, free: 6.547 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.5796, allocations: 98.36 kB / 0.6381 GB, free: 6.453 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004439/0.5841, allocations: 2.44 MB / 0.6405 GB, free: 4.016 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007339/0.5849, allocations: 1.095 MB / 0.6415 GB, free: 2.895 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004387/0.5853, allocations: 90.23 kB / 0.6416 GB, free: 2.805 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000248/0.5856, allocations: 67.42 kB / 0.6417 GB, free: 2.738 MB / 446.1 MB Notification: Performance of SimCode: time 7.62e-07/0.5856, allocations: 0 / 0.6417 GB, free: 2.738 MB / 446.1 MB Notification: Performance of Templates: time 0.03247/0.618, allocations: 21.16 MB / 0.6623 GB, free: 13.79 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)