Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.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.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 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 107.7 kB / 15.99 MB, free: 5.914 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.338/1.338, allocations: 222.9 MB / 239.6 MB, free: 4.777 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.001499/0.001499, allocations: 188.5 kB / 289.9 MB, free: 2.512 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5362/0.5362, allocations: 91.89 MB / 432 MB, free: 9.441 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001778/0.001778, allocations: 75.88 kB / 0.502 GB, free: 8.113 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3856/0.3874, allocations: 71.26 MB / 0.5716 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.005714/0.3932, allocations: 6.112 MB / 0.5776 GB, free: 33.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003227/0.3965, allocations: 1.782 MB / 0.5793 GB, free: 31.98 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004064/0.3969, allocations: 10.97 kB / 0.5793 GB, free: 31.98 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004381/0.3973, allocations: 161.2 kB / 0.5795 GB, free: 31.92 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001363/0.3987, allocations: 0.6032 MB / 0.5801 GB, free: 31.52 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009975/0.3998, allocations: 0.5166 MB / 0.5806 GB, free: 31.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001082/0.4008, allocations: 1.241 MB / 0.5818 GB, free: 30.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003909/0.4012, allocations: 278.2 kB / 0.5821 GB, free: 30.51 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005368/0.4018, allocations: 0.5236 MB / 0.5826 GB, free: 30.24 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005084/0.4023, allocations: 0.6482 MB / 0.5832 GB, free: 29.92 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001083/0.4024, allocations: 88.31 kB / 0.5833 GB, free: 29.92 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003998/0.4028, allocations: 225.3 kB / 0.5835 GB, free: 29.88 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001499/0.403, allocations: 243 kB / 0.5837 GB, free: 29.72 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003222/0.4033, allocations: 0.5494 MB / 0.5843 GB, free: 29.35 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008305/0.4042, allocations: 1.032 MB / 0.5853 GB, free: 28.93 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.4042, allocations: 0 / 0.5853 GB, free: 28.93 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.4042, allocations: 2.75 kB / 0.5853 GB, free: 28.93 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.568e-05/0.4042, allocations: 3.938 kB / 0.5853 GB, free: 28.93 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.007316/0.4115, allocations: 2.356 MB / 0.5876 GB, free: 27.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.4116, allocations: 9.812 kB / 0.5876 GB, free: 27.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00498/0.4166, allocations: 0.7654 MB / 0.5883 GB, free: 27.69 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.4176, allocations: 0.7045 MB / 0.589 GB, free: 27.19 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002557/0.4179, allocations: 247.9 kB / 0.5893 GB, free: 26.97 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001523/0.4181, allocations: 67.23 kB / 0.5893 GB, free: 26.95 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002078/0.4202, allocations: 0.9509 MB / 0.5903 GB, free: 26.6 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.4202, allocations: 11.92 kB / 0.5903 GB, free: 26.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.812e-05/0.4203, allocations: 29.62 kB / 0.5903 GB, free: 26.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.502e-05/0.4203, allocations: 21 kB / 0.5903 GB, free: 26.56 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002095/0.4224, allocations: 0.9702 MB / 0.5913 GB, free: 26.26 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.005014/0.4274, allocations: 3.171 MB / 0.5944 GB, free: 24.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001842/0.4293, allocations: 1.301 MB / 0.5956 GB, free: 23.51 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001351/0.4307, allocations: 0.7055 MB / 0.5963 GB, free: 23.24 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001082/0.4308, allocations: 13.47 kB / 0.5963 GB, free: 23.23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.4308, allocations: 43.59 kB / 0.5964 GB, free: 23.18 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 2.986e-06/0.4308, allocations: 0 / 0.5964 GB, free: 23.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=82): time 0.02764/0.4585, allocations: 6.759 MB / 0.603 GB, free: 21.99 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.206e-05/0.4586, allocations: 64.31 kB / 0.603 GB, free: 21.92 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/0.4599, allocations: 0.8009 MB / 0.6038 GB, free: 21.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000213/0.4601, allocations: 40.3 kB / 0.6039 GB, free: 21.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002877/0.4604, allocations: 433.9 kB / 0.6043 GB, free: 21.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003035/0.4607, allocations: 293.4 kB / 0.6046 GB, free: 20.95 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003907/0.4611, allocations: 181.6 kB / 0.6047 GB, free: 20.86 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.779e-05/0.4612, allocations: 345 kB / 0.6051 GB, free: 20.54 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001472/0.4627, allocations: 0.6498 MB / 0.6057 GB, free: 20.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001531/0.4642, allocations: 0.778 MB / 0.6065 GB, free: 19.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01801/0.4823, allocations: 4.512 MB / 0.6109 GB, free: 18.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/0.4823, allocations: 1.062 kB / 0.6109 GB, free: 18.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01372/0.496, allocations: 4.116 MB / 0.6149 GB, free: 17.29 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.564e-05/0.4961, allocations: 13.36 kB / 0.6149 GB, free: 17.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.4961, allocations: 2.531 kB / 0.6149 GB, free: 17.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005965/0.5021, allocations: 1.784 MB / 0.6166 GB, free: 16.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008588/0.503, allocations: 171.7 kB / 0.6168 GB, free: 16.13 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01869/0.5217, allocations: 9.335 MB / 0.6259 GB, free: 6.656 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/0.5233, allocations: 155 kB / 0.6261 GB, free: 6.504 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/0.5235, allocations: 35.98 kB / 0.6261 GB, free: 6.469 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order31.delta:VARIABLE(flow=false start = order31.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 (95): * Single equations (assignments): 94 * 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.0004669/0.5239, allocations: 236.5 kB / 0.6263 GB, free: 6.23 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/0.5241, allocations: 98.78 kB / 0.6264 GB, free: 6.133 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01121/0.5353, allocations: 3.833 MB / 0.6302 GB, free: 2.281 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.608e-05/0.5354, allocations: 8 kB / 0.6302 GB, free: 2.273 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.5354, allocations: 0 / 0.6302 GB, free: 2.273 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-05/0.5354, allocations: 3.984 kB / 0.6302 GB, free: 2.27 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01393/0.5494, allocations: 5.352 MB / 0.6354 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.266e-05/0.5494, allocations: 0 / 0.6354 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005546/0.55, allocations: 95.83 kB / 0.6355 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005866/0.5559, allocations: 1.753 MB / 0.6372 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001717/0.5561, allocations: 15.98 kB / 0.6372 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0186/0.5747, allocations: 8.072 MB / 0.6451 GB, free: 2.688 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.323e-06/0.5747, allocations: 3.938 kB / 0.6451 GB, free: 2.684 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01448/0.5892, allocations: 4.719 MB / 0.6497 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004539/0.5897, allocations: 187.7 kB / 0.6499 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001767/0.5899, allocations: 16 kB / 0.6499 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009636/0.5909, allocations: 91.89 kB / 0.65 GB, free: 13.63 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006887/0.5916, allocations: 200.7 kB / 0.6502 GB, free: 13.44 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.865e-05/0.5916, allocations: 20 kB / 0.6502 GB, free: 13.42 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007011/0.5924, allocations: 0.5382 MB / 0.6507 GB, free: 12.87 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5924, allocations: 0 / 0.6507 GB, free: 12.87 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001249/0.5936, allocations: 407.5 kB / 0.6511 GB, free: 12.47 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.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 (49): * Single equations (assignments): 48 * 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.0002771/0.5939, allocations: 127.2 kB / 0.6512 GB, free: 12.33 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006834/0.6007, allocations: 2.357 MB / 0.6535 GB, free: 9.957 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.331e-06/0.6008, allocations: 0.5625 kB / 0.6535 GB, free: 9.957 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004565/0.6054, allocations: 1.492 MB / 0.655 GB, free: 8.453 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009835/0.6064, allocations: 89.7 kB / 0.6551 GB, free: 8.367 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003595/0.61, allocations: 2.13 MB / 0.6572 GB, free: 6.211 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006477/0.6107, allocations: 1.033 MB / 0.6582 GB, free: 5.152 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000285/0.6109, allocations: 59.42 kB / 0.6582 GB, free: 5.094 MB / 462.1 MB Notification: Performance of SimCode: time 2.435e-06/0.611, allocations: 4 kB / 0.6582 GB, free: 5.09 MB / 462.1 MB Notification: Performance of Templates: time 0.0234/0.6344, allocations: 17.76 MB / 0.6756 GB, free: 3.316 MB / 478.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)