Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_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.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.1069/0.1069, allocations: 12.2 MB / 27.47 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.0007643/0.0007645, allocations: 99.45 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.423/1.423, allocations: 205.4 MB / 239.8 MB, free: 12.1 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.001126/0.001126, allocations: 181.7 kB / 291 MB, free: 13.37 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4689/0.4689, allocations: 78.54 MB / 420.5 MB, free: 48.89 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.0008834/0.0008835, allocations: 31.98 kB / 0.4901 GB, free: 2.281 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3693, allocations: 69.23 MB / 0.5577 GB, free: 43.21 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.006805/0.3761, allocations: 6.353 MB / 0.5639 GB, free: 40.64 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004864/0.381, allocations: 1.865 MB / 0.5657 GB, free: 39.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001153/0.3822, allocations: 12.56 kB / 0.5657 GB, free: 39.32 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006043/0.3828, allocations: 166.4 kB / 0.5659 GB, free: 39.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001953/0.3848, allocations: 0.6304 MB / 0.5665 GB, free: 38.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001466/0.3863, allocations: 0.5588 MB / 0.5671 GB, free: 38.53 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001831/0.3881, allocations: 1.358 MB / 0.5684 GB, free: 37.86 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005012/0.3886, allocations: 285.2 kB / 0.5687 GB, free: 37.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000922/0.3895, allocations: 0.5187 MB / 0.5692 GB, free: 37.49 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007993/0.3904, allocations: 0.6615 MB / 0.5698 GB, free: 37.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000155/0.3905, allocations: 52.91 kB / 0.5699 GB, free: 37.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005924/0.3911, allocations: 187.7 kB / 0.57 GB, free: 37.14 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000202/0.3913, allocations: 225.4 kB / 0.5702 GB, free: 37 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005525/0.3919, allocations: 0.5877 MB / 0.5708 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0014/0.3933, allocations: 1.423 MB / 0.5722 GB, free: 36.05 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3933, allocations: 0 / 0.5722 GB, free: 36.05 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.826e-06/0.3933, allocations: 0 / 0.5722 GB, free: 36.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.079e-05/0.3934, allocations: 3 kB / 0.5722 GB, free: 36.05 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.007126/0.4005, allocations: 2.393 MB / 0.5746 GB, free: 35 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.4006, allocations: 12.83 kB / 0.5746 GB, free: 35 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004823/0.4054, allocations: 0.7854 MB / 0.5753 GB, free: 34.85 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.4066, allocations: 0.7746 MB / 0.5761 GB, free: 34.29 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000258/0.4069, allocations: 269.1 kB / 0.5763 GB, free: 34.06 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/0.4071, allocations: 76.97 kB / 0.5764 GB, free: 34.04 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002319/0.4094, allocations: 1.172 MB / 0.5776 GB, free: 33.64 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.4094, allocations: 3.938 kB / 0.5776 GB, free: 33.64 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-05/0.4095, allocations: 29.38 kB / 0.5776 GB, free: 33.62 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.4096, allocations: 22.47 kB / 0.5776 GB, free: 33.61 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002499/0.4121, allocations: 1.24 MB / 0.5788 GB, free: 33.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.005225/0.4173, allocations: 3.536 MB / 0.5823 GB, free: 31.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001928/0.4193, allocations: 1.519 MB / 0.5838 GB, free: 30.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001493/0.4208, allocations: 0.8701 MB / 0.5846 GB, free: 30.02 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.008e-05/0.4209, allocations: 20.48 kB / 0.5846 GB, free: 30.01 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.4209, allocations: 43.38 kB / 0.5847 GB, free: 29.96 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 2.355e-06/0.4209, allocations: 0 / 0.5847 GB, free: 29.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.0262/0.4471, allocations: 8.214 MB / 0.5927 GB, free: 28.52 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/0.4472, allocations: 61.56 kB / 0.5928 GB, free: 28.45 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001707/0.4489, allocations: 0.8917 MB / 0.5936 GB, free: 28.08 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003878/0.4493, allocations: 45.08 kB / 0.5937 GB, free: 28.03 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000369/0.4497, allocations: 498.9 kB / 0.5941 GB, free: 27.64 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004072/0.4501, allocations: 347.2 kB / 0.5945 GB, free: 27.37 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001953/0.4503, allocations: 103.8 kB / 0.5946 GB, free: 27.31 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.769e-05/0.4504, allocations: 355.6 kB / 0.5949 GB, free: 26.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001727/0.4522, allocations: 0.8085 MB / 0.5957 GB, free: 26.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001921/0.4541, allocations: 0.9419 MB / 0.5966 GB, free: 26.36 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02021/0.4743, allocations: 5.393 MB / 0.6019 GB, free: 24.96 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.208e-06/0.4744, allocations: 3.938 kB / 0.6019 GB, free: 24.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01575/0.4901, allocations: 5.223 MB / 0.607 GB, free: 23.82 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.257e-05/0.4902, allocations: 6.656 kB / 0.607 GB, free: 23.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/0.4902, allocations: 7.438 kB / 0.607 GB, free: 23.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006631/0.4968, allocations: 2.118 MB / 0.6091 GB, free: 23.03 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/0.498, allocations: 221.9 kB / 0.6093 GB, free: 22.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0198/0.5179, allocations: 9.578 MB / 0.6186 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/0.5196, allocations: 219 kB / 0.6188 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.5197, allocations: 39.98 kB / 0.6189 GB, free: 13.19 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.0004862/0.5202, allocations: 253.5 kB / 0.6191 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00018/0.5204, allocations: 118.5 kB / 0.6192 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01339/0.5338, allocations: 4.948 MB / 0.6241 GB, free: 7.848 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/0.5338, allocations: 12 kB / 0.6241 GB, free: 7.836 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.5338, allocations: 0 / 0.6241 GB, free: 7.836 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.656e-05/0.5339, allocations: 15.91 kB / 0.6241 GB, free: 7.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01541/0.5493, allocations: 6.561 MB / 0.6305 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/0.5493, allocations: 0 / 0.6305 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007702/0.5501, allocations: 147.8 kB / 0.6306 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006214/0.5564, allocations: 2.058 MB / 0.6327 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001756/0.5566, allocations: 19.98 kB / 0.6327 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01902/0.5756, allocations: 8.226 MB / 0.6407 GB, free: 6.527 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.5756, allocations: 3.938 kB / 0.6407 GB, free: 6.523 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01735/0.593, allocations: 6.001 MB / 0.6466 GB, free: 0.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005087/0.5935, allocations: 207.4 kB / 0.6468 GB, free: 284 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/0.5937, allocations: 19.94 kB / 0.6468 GB, free: 264 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.5949, allocations: 155.9 kB / 0.6469 GB, free: 108 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007401/0.5956, allocations: 212.6 kB / 0.6471 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.995e-05/0.5957, allocations: 20 kB / 0.6472 GB, free: 15.88 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007808/0.5965, allocations: 0.6047 MB / 0.6478 GB, free: 15.26 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5965, allocations: 0 / 0.6478 GB, free: 15.26 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001404/0.5979, allocations: 443.4 kB / 0.6482 GB, free: 14.83 MB / 462.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.0002854/0.5982, allocations: 129 kB / 0.6483 GB, free: 14.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007701/0.6059, allocations: 2.794 MB / 0.651 GB, free: 11.89 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.6059, allocations: 4.062 kB / 0.651 GB, free: 11.89 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005406/0.6114, allocations: 1.799 MB / 0.6528 GB, free: 10.08 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/0.6124, allocations: 89.64 kB / 0.6529 GB, free: 9.996 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004679/0.6171, allocations: 2.495 MB / 0.6553 GB, free: 7.477 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008805/0.618, allocations: 1.091 MB / 0.6564 GB, free: 6.359 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005829/0.6186, allocations: 90.75 kB / 0.6565 GB, free: 6.266 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000243/0.6189, allocations: 63.42 kB / 0.6565 GB, free: 6.203 MB / 462.1 MB Notification: Performance of SimCode: time 1.813e-06/0.6189, allocations: 0 / 0.6565 GB, free: 6.203 MB / 462.1 MB Notification: Performance of Templates: time 0.03311/0.652, allocations: 20.71 MB / 0.6767 GB, free: 1.52 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile Environment - environmentSimulation: (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1) Environment - environmentSimulation: