Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07918/0.07918, allocations: 12.2 MB / 27.18 MB, free: 1.504 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007938/0.0007939, allocations: 103.5 kB / 30.68 MB, free: 4.859 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.316/1.316, allocations: 205.4 MB / 239.5 MB, free: 11.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009756/0.0009757, allocations: 188.1 kB / 290.6 MB, free: 11.36 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.414/0.414, allocations: 78.53 MB / 420.1 MB, free: 11.5 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008678/0.0008679, allocations: 28 kB / 0.4895 GB, free: 10.37 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2775, allocations: 69.24 MB / 0.5571 GB, free: 21.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.0037/0.2813, allocations: 5.299 MB / 0.5623 GB, free: 15.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00224/0.2836, allocations: 1.632 MB / 0.5638 GB, free: 14.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003117/0.2839, allocations: 15.94 kB / 0.5639 GB, free: 14.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000293/0.2842, allocations: 142.9 kB / 0.564 GB, free: 13.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001076/0.2853, allocations: 0.5594 MB / 0.5645 GB, free: 13.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008172/0.2861, allocations: 486.2 kB / 0.565 GB, free: 12.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008077/0.2869, allocations: 1.116 MB / 0.5661 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002791/0.2872, allocations: 217.8 kB / 0.5663 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004043/0.2876, allocations: 453.9 kB / 0.5667 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000428/0.2881, allocations: 0.5639 MB / 0.5673 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.59e-05/0.2881, allocations: 44 kB / 0.5673 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003029/0.2885, allocations: 171.8 kB / 0.5675 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.2886, allocations: 187 kB / 0.5677 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.2887, allocations: 201.1 kB / 0.5679 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005831/0.2893, allocations: 0.9699 MB / 0.5688 GB, free: 8.965 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2893, allocations: 4 kB / 0.5688 GB, free: 8.961 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2893, allocations: 0 / 0.5688 GB, free: 8.961 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.2893, allocations: 7.938 kB / 0.5688 GB, free: 8.953 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.005612/0.295, allocations: 2.182 MB / 0.571 GB, free: 6.719 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.295, allocations: 11.98 kB / 0.571 GB, free: 6.707 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004445/0.2995, allocations: 0.7673 MB / 0.5717 GB, free: 5.938 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009005/0.3004, allocations: 0.6667 MB / 0.5724 GB, free: 5.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002267/0.3006, allocations: 259.4 kB / 0.5726 GB, free: 4.938 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.3007, allocations: 72 kB / 0.5727 GB, free: 4.867 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/0.3024, allocations: 1.01 MB / 0.5737 GB, free: 3.852 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.3024, allocations: 0 / 0.5737 GB, free: 3.852 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.088e-05/0.3025, allocations: 28 kB / 0.5737 GB, free: 3.824 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.3025, allocations: 16 kB / 0.5737 GB, free: 3.809 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001688/0.3042, allocations: 1.047 MB / 0.5747 GB, free: 2.762 MB / 382.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.004124/0.3084, allocations: 3.217 MB / 0.5779 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00189/0.3103, allocations: 1.387 MB / 0.5792 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001322/0.3116, allocations: 0.7686 MB / 0.58 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/0.3117, allocations: 12.66 kB / 0.58 GB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.3118, allocations: 39.22 kB / 0.58 GB, free: 13.06 MB / 398.1 MB Notification: Performance of pre-optimization done (n=81): time 2.525e-06/0.3118, allocations: 0 / 0.58 GB, free: 13.06 MB / 398.1 MB Notification: Performance of matching and sorting (n=81): time 0.02487/0.3366, allocations: 8.283 MB / 0.5881 GB, free: 4.742 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.3367, allocations: 64.05 kB / 0.5882 GB, free: 4.668 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009787/0.3377, allocations: 0.7749 MB / 0.5889 GB, free: 3.883 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001507/0.3379, allocations: 45.7 kB / 0.589 GB, free: 3.832 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003226/0.3382, allocations: 424.5 kB / 0.5894 GB, free: 3.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003163/0.3385, allocations: 295.8 kB / 0.5897 GB, free: 3.117 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.1e-05/0.3386, allocations: 20 kB / 0.5897 GB, free: 3.098 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.3388, allocations: 341.9 kB / 0.59 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001382/0.3401, allocations: 0.7128 MB / 0.5907 GB, free: 2.043 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001426/0.3416, allocations: 0.833 MB / 0.5915 GB, free: 1.176 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/0.343, allocations: 0.7576 MB / 0.5923 GB, free: 428 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.343, allocations: 0 / 0.5923 GB, free: 428 kB / 398.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01246/0.3555, allocations: 4.93 MB / 0.5971 GB, free: 11.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.322e-05/0.3556, allocations: 4 kB / 0.5971 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.3556, allocations: 7.984 kB / 0.5971 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006238/0.3618, allocations: 2.167 MB / 0.5992 GB, free: 9.293 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008702/0.3628, allocations: 171.7 kB / 0.5994 GB, free: 9.125 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01931/0.3821, allocations: 9.351 MB / 0.6085 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.3834, allocations: 187.1 kB / 0.6087 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.63e-05/0.3835, allocations: 32 kB / 0.6087 GB, free: 15.41 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(flow=false start = order21.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 (92): * Single equations (assignments): 91 * 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 prepare postOptimizeDAE: time 0.0004265/0.3839, allocations: 233.5 kB / 0.6089 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/0.3841, allocations: 102.7 kB / 0.609 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01206/0.3961, allocations: 4.723 MB / 0.6136 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.841e-05/0.3962, allocations: 11.98 kB / 0.6136 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3962, allocations: 0 / 0.6136 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.956e-05/0.3962, allocations: 3.984 kB / 0.6137 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01335/0.4096, allocations: 6.238 MB / 0.6197 GB, free: 3.941 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.4096, allocations: 0 / 0.6197 GB, free: 3.941 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004788/0.4101, allocations: 95.83 kB / 0.6198 GB, free: 3.848 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005452/0.4156, allocations: 2.05 MB / 0.6218 GB, free: 1.793 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001462/0.4158, allocations: 16 kB / 0.6219 GB, free: 1.777 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01727/0.433, allocations: 8.218 MB / 0.6299 GB, free: 9.418 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.4331, allocations: 0 / 0.6299 GB, free: 9.418 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01419/0.4473, allocations: 5.665 MB / 0.6354 GB, free: 3.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003636/0.4477, allocations: 183.7 kB / 0.6356 GB, free: 3.531 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/0.4479, allocations: 12 kB / 0.6356 GB, free: 3.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00084/0.4487, allocations: 132 kB / 0.6357 GB, free: 3.391 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005658/0.4493, allocations: 204.6 kB / 0.6359 GB, free: 3.188 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-05/0.4494, allocations: 16 kB / 0.6359 GB, free: 3.172 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006098/0.45, allocations: 0.5224 MB / 0.6364 GB, free: 2.652 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.45, allocations: 0 / 0.6364 GB, free: 2.652 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001103/0.4511, allocations: 407.5 kB / 0.6368 GB, free: 2.254 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.w) * 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 (48): * Single equations (assignments): 47 * 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.0002475/0.4514, allocations: 127.1 kB / 0.637 GB, free: 2.121 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006135/0.4575, allocations: 2.562 MB / 0.6395 GB, free: 15.55 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.4576, allocations: 0 / 0.6395 GB, free: 15.55 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004326/0.4619, allocations: 1.681 MB / 0.6411 GB, free: 13.85 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008031/0.4627, allocations: 79.3 kB / 0.6412 GB, free: 13.78 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003017/0.4658, allocations: 1.958 MB / 0.6431 GB, free: 11.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006086/0.4664, allocations: 1.025 MB / 0.6441 GB, free: 10.74 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002875/0.4667, allocations: 74.19 kB / 0.6442 GB, free: 10.67 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001672/0.4669, allocations: 59.42 kB / 0.6442 GB, free: 10.61 MB / 462.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4669, allocations: 0 / 0.6442 GB, free: 10.61 MB / 462.1 MB Notification: Performance of Templates: time 0.02986/0.4968, allocations: 18.83 MB / 0.6626 GB, free: 7.789 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile Environment - environmentSimulation: (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1) Environment - environmentSimulation: