Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_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.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000837/0.0008368, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.379/1.379, allocations: 223.3 MB / 239.4 MB, free: 5.406 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.001329/0.001329, allocations: 184.5 kB / 290.6 MB, free: 2.078 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4752/0.4752, allocations: 78.55 MB / 420.3 MB, free: 4.297 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003739/0.0003741, allocations: 8 kB / 0.4887 GB, free: 6.004 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1299, allocations: 69.36 MB / 0.5564 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.2163/0.3462, allocations: 6.246 MB / 0.5625 GB, free: 36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004478/0.3508, allocations: 1.879 MB / 0.5643 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001654/0.3525, allocations: 15.44 kB / 0.5643 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006507/0.3531, allocations: 171.4 kB / 0.5645 GB, free: 35.16 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001816/0.355, allocations: 0.6195 MB / 0.5651 GB, free: 34.86 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.3563, allocations: 0.5687 MB / 0.5657 GB, free: 34.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0014/0.3577, allocations: 1.327 MB / 0.567 GB, free: 34.44 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003943/0.3581, allocations: 281.5 kB / 0.5672 GB, free: 34.39 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005499/0.3586, allocations: 0.5171 MB / 0.5677 GB, free: 34.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005514/0.3592, allocations: 0.6552 MB / 0.5684 GB, free: 34.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.3593, allocations: 53.06 kB / 0.5684 GB, free: 34.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003888/0.3597, allocations: 184.3 kB / 0.5686 GB, free: 34.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001621/0.3599, allocations: 218.4 kB / 0.5688 GB, free: 33.94 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000356/0.3603, allocations: 0.5874 MB / 0.5694 GB, free: 33.68 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.3614, allocations: 1.404 MB / 0.5708 GB, free: 33.31 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3614, allocations: 0.6875 kB / 0.5708 GB, free: 33.31 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3614, allocations: 2.938 kB / 0.5708 GB, free: 33.31 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.75e-05/0.3614, allocations: 1.969 kB / 0.5708 GB, free: 33.31 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.006976/0.3684, allocations: 2.373 MB / 0.5731 GB, free: 32.45 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.3685, allocations: 11.75 kB / 0.5731 GB, free: 32.45 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004776/0.3733, allocations: 0.7865 MB / 0.5739 GB, free: 32.36 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009988/0.3743, allocations: 0.769 MB / 0.5746 GB, free: 31.95 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002377/0.3745, allocations: 272.5 kB / 0.5749 GB, free: 31.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/0.3747, allocations: 72 kB / 0.5749 GB, free: 31.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002213/0.3769, allocations: 1.172 MB / 0.5761 GB, free: 31.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.3769, allocations: 3.938 kB / 0.5761 GB, free: 31.67 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.252e-05/0.377, allocations: 28.88 kB / 0.5761 GB, free: 31.67 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.598e-05/0.377, allocations: 20.34 kB / 0.5761 GB, free: 31.67 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002441/0.3795, allocations: 1.235 MB / 0.5773 GB, free: 31.64 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.005333/0.3848, allocations: 3.505 MB / 0.5808 GB, free: 30.63 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002039/0.3869, allocations: 1.501 MB / 0.5822 GB, free: 29.83 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001606/0.3885, allocations: 0.8677 MB / 0.5831 GB, free: 29.53 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.885e-05/0.3886, allocations: 14.78 kB / 0.5831 GB, free: 29.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.3887, allocations: 46.19 kB / 0.5831 GB, free: 29.47 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 3.536e-06/0.3887, allocations: 0 / 0.5831 GB, free: 29.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.0295/0.4182, allocations: 8.367 MB / 0.5913 GB, free: 28.02 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/0.4183, allocations: 66.12 kB / 0.5914 GB, free: 27.95 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001605/0.4199, allocations: 0.8844 MB / 0.5922 GB, free: 27.58 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002623/0.4202, allocations: 40.98 kB / 0.5923 GB, free: 27.54 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003215/0.4205, allocations: 0.4897 MB / 0.5927 GB, free: 27.14 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003441/0.4209, allocations: 343.2 kB / 0.5931 GB, free: 26.87 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.421, allocations: 100.6 kB / 0.5932 GB, free: 26.82 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.896e-05/0.4211, allocations: 347.2 kB / 0.5935 GB, free: 26.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001852/0.423, allocations: 0.804 MB / 0.5943 GB, free: 26.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002003/0.425, allocations: 0.9246 MB / 0.5952 GB, free: 25.87 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02073/0.4457, allocations: 5.346 MB / 0.6004 GB, free: 24.49 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.38e-05/0.4458, allocations: 5.406 kB / 0.6004 GB, free: 24.49 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01683/0.4626, allocations: 5.196 MB / 0.6055 GB, free: 23.36 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.122e-05/0.4627, allocations: 7.078 kB / 0.6055 GB, free: 23.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.815e-05/0.4627, allocations: 1.344 kB / 0.6055 GB, free: 23.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007857/0.4706, allocations: 2.183 MB / 0.6076 GB, free: 23.01 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.4719, allocations: 215 kB / 0.6078 GB, free: 23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02198/0.4939, allocations: 9.348 MB / 0.617 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001686/0.4956, allocations: 230.9 kB / 0.6172 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002157/0.4958, allocations: 36.92 kB / 0.6172 GB, free: 15.23 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.0006312/0.4965, allocations: 247.2 kB / 0.6175 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003065/0.4968, allocations: 122.4 kB / 0.6176 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01374/0.5106, allocations: 4.949 MB / 0.6224 GB, free: 9.898 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.246e-05/0.5106, allocations: 12 kB / 0.6224 GB, free: 9.887 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.5107, allocations: 0 / 0.6224 GB, free: 9.887 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-05/0.5107, allocations: 7.984 kB / 0.6224 GB, free: 9.879 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01627/0.527, allocations: 6.563 MB / 0.6288 GB, free: 3.176 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-05/0.527, allocations: 0 / 0.6288 GB, free: 3.176 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008436/0.5279, allocations: 148.8 kB / 0.629 GB, free: 3.031 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005985/0.5339, allocations: 2.053 MB / 0.631 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002075/0.5341, allocations: 16 kB / 0.631 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01991/0.5541, allocations: 8.223 MB / 0.639 GB, free: 8.594 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.365e-06/0.5541, allocations: 3.938 kB / 0.639 GB, free: 8.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01802/0.5722, allocations: 6.001 MB / 0.6449 GB, free: 2.562 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004065/0.5726, allocations: 203.5 kB / 0.6451 GB, free: 2.344 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003581/0.573, allocations: 16.7 kB / 0.6451 GB, free: 2.328 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001452/0.5744, allocations: 153.1 kB / 0.6452 GB, free: 2.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009476/0.5754, allocations: 212.6 kB / 0.6454 GB, free: 1.969 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001933/0.5756, allocations: 24 kB / 0.6455 GB, free: 1.945 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001154/0.5768, allocations: 0.594 MB / 0.646 GB, free: 1.344 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.5768, allocations: 4 kB / 0.6461 GB, free: 1.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002069/0.5789, allocations: 435.4 kB / 0.6465 GB, free: 0.9141 MB / 446.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.0003257/0.5792, allocations: 135 kB / 0.6466 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007989/0.5872, allocations: 2.767 MB / 0.6493 GB, free: 14 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/0.5873, allocations: 0 / 0.6493 GB, free: 14 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005419/0.5927, allocations: 1.796 MB / 0.6511 GB, free: 12.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.5939, allocations: 84.36 kB / 0.6511 GB, free: 12.12 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004087/0.598, allocations: 2.405 MB / 0.6535 GB, free: 9.703 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006645/0.5987, allocations: 1.084 MB / 0.6545 GB, free: 8.594 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003874/0.5991, allocations: 88.19 kB / 0.6546 GB, free: 8.508 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002411/0.5993, allocations: 59.42 kB / 0.6547 GB, free: 8.449 MB / 462.1 MB Notification: Performance of SimCode: time 7.41e-07/0.5993, allocations: 3.938 kB / 0.6547 GB, free: 8.445 MB / 462.1 MB Notification: Performance of Templates: time 0.03399/0.6333, allocations: 20.38 MB / 0.6746 GB, free: 4.258 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1) Environment - environmentSimulation: