Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.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.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.001534/0.001534, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 239.3 MB, free: 4.621 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.001201/0.001201, allocations: 192.5 kB / 289.5 MB, free: 2.336 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5387/0.5387, allocations: 91.9 MB / 431.6 MB, free: 9.277 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001704/0.001704, allocations: 79.88 kB / 0.5019 GB, free: 7.754 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3539, allocations: 71.25 MB / 0.5715 GB, free: 36.46 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.0054/0.3594, allocations: 6.398 MB / 0.5777 GB, free: 32.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003165/0.3626, allocations: 1.86 MB / 0.5795 GB, free: 31.55 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006458/0.3633, allocations: 11.38 kB / 0.5795 GB, free: 31.55 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004868/0.3637, allocations: 218.9 kB / 0.5797 GB, free: 31.43 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001478/0.3653, allocations: 0.714 MB / 0.5804 GB, free: 30.95 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.3665, allocations: 0.6046 MB / 0.581 GB, free: 30.65 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001158/0.3676, allocations: 1.402 MB / 0.5824 GB, free: 29.94 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003812/0.368, allocations: 324 kB / 0.5827 GB, free: 29.81 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000556/0.3686, allocations: 0.5801 MB / 0.5833 GB, free: 29.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005655/0.3692, allocations: 0.7255 MB / 0.584 GB, free: 29.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001383/0.3693, allocations: 100.2 kB / 0.5841 GB, free: 29.16 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000407/0.3697, allocations: 231.8 kB / 0.5843 GB, free: 29.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001674/0.3699, allocations: 281.1 kB / 0.5846 GB, free: 28.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003397/0.3702, allocations: 0.6164 MB / 0.5852 GB, free: 28.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001034/0.3713, allocations: 1.484 MB / 0.5866 GB, free: 27.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3713, allocations: 0 / 0.5866 GB, free: 27.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3713, allocations: 0 / 0.5866 GB, free: 27.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.8e-05/0.3713, allocations: 0 / 0.5866 GB, free: 27.82 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.00753/0.3789, allocations: 2.54 MB / 0.5891 GB, free: 26.65 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.3789, allocations: 9.062 kB / 0.5891 GB, free: 26.65 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004912/0.3838, allocations: 0.7786 MB / 0.5899 GB, free: 26.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.3849, allocations: 0.7706 MB / 0.5906 GB, free: 25.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002355/0.3851, allocations: 257.1 kB / 0.5909 GB, free: 25.71 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/0.3853, allocations: 78.27 kB / 0.5909 GB, free: 25.69 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002169/0.3875, allocations: 1.071 MB / 0.592 GB, free: 25.3 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.3875, allocations: 9.375 kB / 0.592 GB, free: 25.3 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.17e-05/0.3876, allocations: 29.5 kB / 0.592 GB, free: 25.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.3876, allocations: 22.34 kB / 0.592 GB, free: 25.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002398/0.39, allocations: 1.119 MB / 0.5931 GB, free: 24.93 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.005201/0.3952, allocations: 3.44 MB / 0.5965 GB, free: 22.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001924/0.3972, allocations: 1.409 MB / 0.5979 GB, free: 22.03 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001551/0.3987, allocations: 0.7758 MB / 0.5986 GB, free: 21.74 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.775e-05/0.3988, allocations: 13.39 kB / 0.5986 GB, free: 21.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.3989, allocations: 51.45 kB / 0.5987 GB, free: 21.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 2.775e-06/0.3989, allocations: 0 / 0.5987 GB, free: 21.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.02746/0.4263, allocations: 6.75 MB / 0.6053 GB, free: 20.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.4264, allocations: 63.03 kB / 0.6053 GB, free: 20.35 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/0.4278, allocations: 0.8817 MB / 0.6062 GB, free: 19.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002432/0.428, allocations: 41.55 kB / 0.6062 GB, free: 19.94 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002996/0.4283, allocations: 498.5 kB / 0.6067 GB, free: 19.54 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003209/0.4287, allocations: 341.8 kB / 0.607 GB, free: 19.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003853/0.4291, allocations: 198.1 kB / 0.6072 GB, free: 19.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.987e-05/0.4291, allocations: 354 kB / 0.6076 GB, free: 18.85 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001635/0.4308, allocations: 0.7116 MB / 0.6083 GB, free: 18.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001721/0.4325, allocations: 0.8397 MB / 0.6091 GB, free: 18.24 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0198/0.4523, allocations: 4.797 MB / 0.6138 GB, free: 16.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.4524, allocations: 1.188 kB / 0.6138 GB, free: 16.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01354/0.4659, allocations: 4.265 MB / 0.6179 GB, free: 14.6 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.466, allocations: 4 kB / 0.6179 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.466, allocations: 4 kB / 0.6179 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005903/0.4719, allocations: 1.862 MB / 0.6198 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.473, allocations: 199.7 kB / 0.62 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01897/0.492, allocations: 9.098 MB / 0.6288 GB, free: 3.285 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/0.4936, allocations: 179 kB / 0.629 GB, free: 3.109 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-05/0.4938, allocations: 39.98 kB / 0.629 GB, free: 3.07 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.0004823/0.4942, allocations: 239.3 kB / 0.6293 GB, free: 2.828 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/0.4944, allocations: 118.5 kB / 0.6294 GB, free: 2.711 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01276/0.5072, allocations: 4.006 MB / 0.6333 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/0.5073, allocations: 11.98 kB / 0.6333 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.5073, allocations: 3.938 kB / 0.6333 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.139e-05/0.5073, allocations: 11.98 kB / 0.6333 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01589/0.5232, allocations: 5.618 MB / 0.6388 GB, free: 8.902 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/0.5233, allocations: 0 / 0.6388 GB, free: 8.902 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008067/0.5241, allocations: 127.8 kB / 0.6389 GB, free: 8.777 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006412/0.5305, allocations: 1.745 MB / 0.6406 GB, free: 7.023 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002656/0.5308, allocations: 19.98 kB / 0.6407 GB, free: 7.004 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02023/0.5511, allocations: 8.072 MB / 0.6485 GB, free: 14.78 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.5511, allocations: 0 / 0.6485 GB, free: 14.78 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01645/0.5676, allocations: 4.97 MB / 0.6534 GB, free: 9.793 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005181/0.5681, allocations: 207.4 kB / 0.6536 GB, free: 9.57 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004191/0.5686, allocations: 19.98 kB / 0.6536 GB, free: 9.551 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001327/0.5699, allocations: 111.9 kB / 0.6537 GB, free: 9.441 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007975/0.5707, allocations: 212.7 kB / 0.6539 GB, free: 9.23 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001288/0.5709, allocations: 31.92 kB / 0.654 GB, free: 9.199 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009307/0.5718, allocations: 0.5927 MB / 0.6545 GB, free: 8.598 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5718, allocations: 4 kB / 0.6545 GB, free: 8.594 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001632/0.5735, allocations: 427.5 kB / 0.6549 GB, free: 8.176 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.0003213/0.5738, allocations: 139 kB / 0.6551 GB, free: 8.027 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007713/0.5815, allocations: 2.492 MB / 0.6575 GB, free: 5.523 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.5816, allocations: 4.125 kB / 0.6575 GB, free: 5.52 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005224/0.5868, allocations: 1.589 MB / 0.6591 GB, free: 3.922 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.5879, allocations: 94.98 kB / 0.6592 GB, free: 3.832 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004294/0.5923, allocations: 1.97 MB / 0.6611 GB, free: 1.844 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000792/0.5931, allocations: 1.08 MB / 0.6621 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004638/0.5936, allocations: 90.67 kB / 0.6622 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003141/0.5939, allocations: 67.42 kB / 0.6623 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of SimCode: time 1.022e-06/0.5939, allocations: 0 / 0.6623 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of Templates: time 0.03878/0.6327, allocations: 23.36 MB / 0.6851 GB, free: 9.234 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)