Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.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_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08796/0.08796, allocations: 12.21 MB / 27.48 MB, free: 0.9297 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.0007764/0.0007764, allocations: 99.52 kB / 31 MB, free: 4.531 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.381/1.381, allocations: 205.4 MB / 239.8 MB, free: 11.47 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.00109/0.00109, allocations: 180.5 kB / 291 MB, free: 13.29 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4748/0.4748, allocations: 78.54 MB / 420.5 MB, free: 48.61 MB / 334.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.001379/0.001379, allocations: 37.11 kB / 0.4901 GB, free: 2.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.372, allocations: 69.21 MB / 0.5577 GB, free: 43.19 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.007911/0.3799, allocations: 6.286 MB / 0.5638 GB, free: 40.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005777/0.3858, allocations: 1.852 MB / 0.5656 GB, free: 39.71 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/0.3871, allocations: 11.59 kB / 0.5657 GB, free: 39.71 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006339/0.3877, allocations: 170.4 kB / 0.5658 GB, free: 39.64 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002195/0.39, allocations: 0.6313 MB / 0.5664 GB, free: 39.23 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001464/0.3914, allocations: 0.5578 MB / 0.567 GB, free: 38.93 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001836/0.3933, allocations: 1.336 MB / 0.5683 GB, free: 38.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004905/0.3938, allocations: 288.5 kB / 0.5686 GB, free: 38.13 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007682/0.3945, allocations: 0.5163 MB / 0.5691 GB, free: 37.89 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007259/0.3953, allocations: 0.6501 MB / 0.5697 GB, free: 37.59 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001297/0.3954, allocations: 52 kB / 0.5697 GB, free: 37.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005034/0.3959, allocations: 186.4 kB / 0.5699 GB, free: 37.55 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001807/0.3961, allocations: 221.1 kB / 0.5701 GB, free: 37.41 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004749/0.3966, allocations: 0.5789 MB / 0.5707 GB, free: 37.02 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.3977, allocations: 1.41 MB / 0.5721 GB, free: 36.47 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.3977, allocations: 0 / 0.5721 GB, free: 36.47 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3977, allocations: 4 kB / 0.5721 GB, free: 36.46 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.489e-05/0.3978, allocations: 1.625 kB / 0.5721 GB, free: 36.46 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.00712/0.4049, allocations: 2.371 MB / 0.5744 GB, free: 35.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.4049, allocations: 15.11 kB / 0.5744 GB, free: 35.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004926/0.4099, allocations: 0.7881 MB / 0.5752 GB, free: 35.27 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.411, allocations: 0.7593 MB / 0.5759 GB, free: 34.72 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002544/0.4113, allocations: 271.6 kB / 0.5762 GB, free: 34.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.4114, allocations: 79.53 kB / 0.5763 GB, free: 34.47 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002306/0.4137, allocations: 1.166 MB / 0.5774 GB, free: 34.07 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.4138, allocations: 3.938 kB / 0.5774 GB, free: 34.07 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.482e-05/0.4139, allocations: 30.38 kB / 0.5774 GB, free: 34.05 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.4139, allocations: 18.62 kB / 0.5774 GB, free: 34.05 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002518/0.4164, allocations: 1.239 MB / 0.5787 GB, free: 33.69 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.005477/0.4219, allocations: 3.507 MB / 0.5821 GB, free: 31.71 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002035/0.424, allocations: 1.499 MB / 0.5835 GB, free: 30.78 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001605/0.4256, allocations: 0.8742 MB / 0.5844 GB, free: 30.47 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.814e-05/0.4257, allocations: 9.656 kB / 0.5844 GB, free: 30.47 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.4257, allocations: 46.31 kB / 0.5844 GB, free: 30.42 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 2.845e-06/0.4257, allocations: 0 / 0.5844 GB, free: 30.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.02825/0.454, allocations: 8.366 MB / 0.5926 GB, free: 28.97 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.329e-05/0.4541, allocations: 67.41 kB / 0.5927 GB, free: 28.9 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001512/0.4556, allocations: 0.8845 MB / 0.5935 GB, free: 28.53 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002836/0.4559, allocations: 41.39 kB / 0.5936 GB, free: 28.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004477/0.4564, allocations: 495.3 kB / 0.5941 GB, free: 28.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000445/0.4568, allocations: 347.2 kB / 0.5944 GB, free: 27.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/0.457, allocations: 100.1 kB / 0.5945 GB, free: 27.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.4572, allocations: 349.8 kB / 0.5948 GB, free: 27.44 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001912/0.4591, allocations: 0.8029 MB / 0.5956 GB, free: 27.19 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001942/0.461, allocations: 0.933 MB / 0.5965 GB, free: 26.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02143/0.4825, allocations: 5.351 MB / 0.6017 GB, free: 25.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.205e-05/0.4825, allocations: 1.188 kB / 0.6017 GB, free: 25.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01689/0.4994, allocations: 5.197 MB / 0.6068 GB, free: 24.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.342e-05/0.4995, allocations: 9.812 kB / 0.6068 GB, free: 24.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.4996, allocations: 2.281 kB / 0.6068 GB, free: 24.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006954/0.5065, allocations: 2.17 MB / 0.6089 GB, free: 23.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/0.5077, allocations: 223.7 kB / 0.6092 GB, free: 23.13 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02062/0.5284, allocations: 9.359 MB / 0.6183 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001762/0.5302, allocations: 227 kB / 0.6185 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002329/0.5304, allocations: 39.98 kB / 0.6186 GB, free: 13.38 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_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 (108): * Single equations (assignments): 107 * 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 prepare postOptimizeDAE: time 0.0006959/0.5311, allocations: 237.6 kB / 0.6188 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003059/0.5314, allocations: 122.4 kB / 0.6189 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0139/0.5453, allocations: 4.959 MB / 0.6237 GB, free: 8.039 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.976e-05/0.5454, allocations: 8 kB / 0.6237 GB, free: 8.031 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.5454, allocations: 0 / 0.6237 GB, free: 8.031 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.91e-05/0.5455, allocations: 3.984 kB / 0.6238 GB, free: 8.027 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01582/0.5613, allocations: 6.574 MB / 0.6302 GB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/0.5614, allocations: 0 / 0.6302 GB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008186/0.5622, allocations: 147.8 kB / 0.6303 GB, free: 1.168 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006328/0.5686, allocations: 2.054 MB / 0.6323 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002135/0.5688, allocations: 23.94 kB / 0.6323 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01968/0.5885, allocations: 8.215 MB / 0.6404 GB, free: 6.727 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.5885, allocations: 3.938 kB / 0.6404 GB, free: 6.723 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01827/0.6068, allocations: 5.993 MB / 0.6462 GB, free: 0.707 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005561/0.6074, allocations: 207.3 kB / 0.6464 GB, free: 496 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000464/0.6079, allocations: 20 kB / 0.6464 GB, free: 476 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001454/0.6094, allocations: 155.9 kB / 0.6466 GB, free: 320 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009261/0.6103, allocations: 212.6 kB / 0.6468 GB, free: 104 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.914e-05/0.6104, allocations: 24 kB / 0.6468 GB, free: 80 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009496/0.6114, allocations: 0.5966 MB / 0.6474 GB, free: 15.47 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6114, allocations: 0 / 0.6474 GB, free: 15.47 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001787/0.6132, allocations: 427.5 kB / 0.6478 GB, free: 15.05 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.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 (63): * Single equations (assignments): 62 * 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.0003398/0.6135, allocations: 132.9 kB / 0.6479 GB, free: 14.92 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007634/0.6212, allocations: 2.765 MB / 0.6506 GB, free: 12.14 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.6212, allocations: 0 / 0.6506 GB, free: 12.14 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005367/0.6266, allocations: 1.8 MB / 0.6524 GB, free: 10.34 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.6277, allocations: 92.86 kB / 0.6525 GB, free: 10.25 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004131/0.6318, allocations: 2.4 MB / 0.6548 GB, free: 7.816 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007534/0.6326, allocations: 1.088 MB / 0.6559 GB, free: 6.703 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004019/0.633, allocations: 86.69 kB / 0.656 GB, free: 6.613 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002275/0.6333, allocations: 55.42 kB / 0.656 GB, free: 6.559 MB / 462.1 MB Notification: Performance of SimCode: time 1.463e-06/0.6333, allocations: 0 / 0.656 GB, free: 6.559 MB / 462.1 MB Notification: Performance of Templates: time 0.03353/0.6668, allocations: 20.41 MB / 0.6759 GB, free: 2.168 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile Environment - environmentSimulation: (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1) Environment - environmentSimulation: