Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_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.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000918/0.0009181, allocations: 92.31 kB / 16.02 MB, free: 80 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.339/1.339, allocations: 223.3 MB / 240 MB, free: 5.469 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.001033/0.001033, allocations: 180.5 kB / 291.3 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5024/0.5024, allocations: 91.92 MB / 434.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000386/0.000386, allocations: 11.94 kB / 0.5054 GB, free: 7.234 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3499, allocations: 72.46 MB / 0.5762 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.004589/0.3545, allocations: 6.376 MB / 0.5824 GB, free: 32.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003414/0.358, allocations: 1.931 MB / 0.5843 GB, free: 30.95 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009398/0.3589, allocations: 11.78 kB / 0.5843 GB, free: 30.95 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005125/0.3595, allocations: 171.7 kB / 0.5845 GB, free: 30.88 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001781/0.3613, allocations: 0.6373 MB / 0.5851 GB, free: 30.46 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.3625, allocations: 0.5694 MB / 0.5856 GB, free: 30.16 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001404/0.3639, allocations: 1.359 MB / 0.587 GB, free: 29.49 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003993/0.3643, allocations: 285.3 kB / 0.5872 GB, free: 29.38 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005704/0.3649, allocations: 0.517 MB / 0.5877 GB, free: 29.14 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005604/0.3655, allocations: 0.6662 MB / 0.5884 GB, free: 28.83 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.3656, allocations: 53.38 kB / 0.5884 GB, free: 28.83 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004189/0.366, allocations: 187.5 kB / 0.5886 GB, free: 28.78 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001465/0.3662, allocations: 222.1 kB / 0.5888 GB, free: 28.65 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003615/0.3666, allocations: 0.5834 MB / 0.5894 GB, free: 28.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007977/0.3674, allocations: 1.107 MB / 0.5905 GB, free: 27.9 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3674, allocations: 2.938 kB / 0.5905 GB, free: 27.9 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3674, allocations: 0 / 0.5905 GB, free: 27.9 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.74e-05/0.3674, allocations: 4 kB / 0.5905 GB, free: 27.89 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.007402/0.3748, allocations: 2.387 MB / 0.5928 GB, free: 26.85 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.3749, allocations: 8.844 kB / 0.5928 GB, free: 26.85 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004997/0.3799, allocations: 0.7872 MB / 0.5936 GB, free: 26.7 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.381, allocations: 0.7665 MB / 0.5944 GB, free: 26.14 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002634/0.3813, allocations: 269.9 kB / 0.5946 GB, free: 25.92 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001604/0.3815, allocations: 80.62 kB / 0.5947 GB, free: 25.89 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002437/0.3839, allocations: 1.167 MB / 0.5958 GB, free: 25.5 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.513e-05/0.3839, allocations: 9.094 kB / 0.5958 GB, free: 25.49 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-05/0.384, allocations: 29.31 kB / 0.5959 GB, free: 25.47 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.83e-05/0.3841, allocations: 19.41 kB / 0.5959 GB, free: 25.47 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002603/0.3867, allocations: 1.246 MB / 0.5971 GB, free: 25.11 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.006109/0.3928, allocations: 3.558 MB / 0.6006 GB, free: 23.13 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002272/0.3951, allocations: 1.523 MB / 0.6021 GB, free: 22.18 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001834/0.3969, allocations: 0.8797 MB / 0.6029 GB, free: 21.87 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001041/0.3971, allocations: 16.78 kB / 0.6029 GB, free: 21.86 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.3971, allocations: 43.81 kB / 0.603 GB, free: 21.81 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 3.066e-06/0.3971, allocations: 0 / 0.603 GB, free: 21.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.03055/0.4277, allocations: 8.533 MB / 0.6113 GB, free: 20.35 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/0.4278, allocations: 61.84 kB / 0.6114 GB, free: 20.29 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001794/0.4296, allocations: 0.8973 MB / 0.6122 GB, free: 19.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002737/0.4299, allocations: 40.8 kB / 0.6123 GB, free: 19.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003815/0.4303, allocations: 0.489 MB / 0.6128 GB, free: 19.47 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005057/0.4308, allocations: 348.4 kB / 0.6131 GB, free: 19.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002741/0.4311, allocations: 108.7 kB / 0.6132 GB, free: 19.14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.521e-05/0.4312, allocations: 352.2 kB / 0.6135 GB, free: 18.81 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002064/0.4332, allocations: 0.8258 MB / 0.6143 GB, free: 18.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002094/0.4353, allocations: 0.9488 MB / 0.6153 GB, free: 18.17 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02042/0.4558, allocations: 5.412 MB / 0.6206 GB, free: 15.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.848e-06/0.4558, allocations: 0 / 0.6206 GB, free: 15.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01461/0.4704, allocations: 5.226 MB / 0.6257 GB, free: 10.49 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/0.4705, allocations: 12 kB / 0.6257 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.4705, allocations: 0 / 0.6257 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006114/0.4767, allocations: 2.034 MB / 0.6277 GB, free: 8.441 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.4779, allocations: 251.6 kB / 0.6279 GB, free: 8.195 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02018/0.4981, allocations: 9.327 MB / 0.637 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001904/0.5, allocations: 226.8 kB / 0.6372 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002498/0.5003, allocations: 39.98 kB / 0.6373 GB, free: 14.48 MB / 446.1 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" 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 (117): * Single equations (assignments): 116 * 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 {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0007515/0.5011, allocations: 241.7 kB / 0.6375 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003843/0.5015, allocations: 126.5 kB / 0.6376 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01521/0.5167, allocations: 4.955 MB / 0.6424 GB, free: 9.133 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/0.5167, allocations: 8 kB / 0.6425 GB, free: 9.125 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.5168, allocations: 3.938 kB / 0.6425 GB, free: 9.121 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.863e-05/0.5168, allocations: 3.984 kB / 0.6425 GB, free: 9.117 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01792/0.5347, allocations: 6.579 MB / 0.6489 GB, free: 2.402 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.847e-05/0.5348, allocations: 3.938 kB / 0.6489 GB, free: 2.398 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008875/0.5357, allocations: 143.8 kB / 0.649 GB, free: 2.258 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006579/0.5423, allocations: 2.05 MB / 0.651 GB, free: 208 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002348/0.5426, allocations: 20 kB / 0.6511 GB, free: 188 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01933/0.5619, allocations: 8.211 MB / 0.6591 GB, free: 7.832 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5619, allocations: 0 / 0.6591 GB, free: 7.832 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01766/0.5796, allocations: 5.993 MB / 0.6649 GB, free: 1.816 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005037/0.5802, allocations: 207.4 kB / 0.6651 GB, free: 1.594 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004265/0.5806, allocations: 23.94 kB / 0.6651 GB, free: 1.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001402/0.582, allocations: 163.8 kB / 0.6653 GB, free: 1.41 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007765/0.5828, allocations: 208.6 kB / 0.6655 GB, free: 1.203 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/0.5829, allocations: 27.98 kB / 0.6655 GB, free: 1.176 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008799/0.5838, allocations: 0.5969 MB / 0.6661 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5838, allocations: 0 / 0.6661 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001576/0.5854, allocations: 435.5 kB / 0.6665 GB, free: 148 kB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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 (65): * Single equations (assignments): 64 * 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.0003399/0.5858, allocations: 135.2 kB / 0.6667 GB, free: 0 / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007633/0.5934, allocations: 2.773 MB / 0.6694 GB, free: 13.21 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.054e-06/0.5935, allocations: 0 / 0.6694 GB, free: 13.21 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005537/0.599, allocations: 1.802 MB / 0.6711 GB, free: 11.39 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.6003, allocations: 88.42 kB / 0.6712 GB, free: 11.31 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004497/0.6048, allocations: 2.59 MB / 0.6737 GB, free: 8.691 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007267/0.6056, allocations: 1.099 MB / 0.6748 GB, free: 7.566 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003796/0.606, allocations: 67.42 kB / 0.6749 GB, free: 7.5 MB / 478.1 MB Notification: Performance of SimCode: time 9.42e-07/0.606, allocations: 0 / 0.6749 GB, free: 7.5 MB / 478.1 MB Notification: Performance of Templates: time 0.02994/0.6359, allocations: 19.94 MB / 0.6943 GB, free: 3.551 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)