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.006948/0.006947, allocations: 101.1 kB / 15.88 MB, free: 5.871 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.339/1.339, allocations: 222.9 MB / 239.5 MB, free: 4.797 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.001256/0.001255, allocations: 188.5 kB / 289.8 MB, free: 2.527 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4978/0.4978, allocations: 91.89 MB / 431.8 MB, free: 9.488 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 75.88 kB / 0.5018 GB, free: 8.223 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3591, allocations: 71.26 MB / 0.5714 GB, free: 36.44 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.005654/0.3648, allocations: 6.833 MB / 0.5781 GB, free: 32.47 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003651/0.3685, allocations: 1.954 MB / 0.58 GB, free: 31.28 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/0.3696, allocations: 19.53 kB / 0.58 GB, free: 31.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000581/0.3702, allocations: 169 kB / 0.5802 GB, free: 31.2 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001708/0.372, allocations: 0.6356 MB / 0.5808 GB, free: 30.79 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.3731, allocations: 0.5818 MB / 0.5814 GB, free: 30.47 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001268/0.3744, allocations: 1.358 MB / 0.5827 GB, free: 29.8 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003778/0.3748, allocations: 288.6 kB / 0.583 GB, free: 29.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005958/0.3754, allocations: 0.5444 MB / 0.5835 GB, free: 29.42 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005524/0.376, allocations: 0.7025 MB / 0.5842 GB, free: 29.09 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001249/0.3761, allocations: 68.22 kB / 0.5843 GB, free: 29.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004725/0.3766, allocations: 201.4 kB / 0.5845 GB, free: 29.04 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001939/0.3768, allocations: 240.4 kB / 0.5847 GB, free: 28.89 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004231/0.3772, allocations: 0.5878 MB / 0.5853 GB, free: 28.51 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008781/0.3781, allocations: 1.125 MB / 0.5864 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3781, allocations: 3.938 kB / 0.5864 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.3781, allocations: 3.5 kB / 0.5864 GB, free: 28.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.402e-05/0.3782, allocations: 0 / 0.5864 GB, free: 28.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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.007942/0.3861, allocations: 2.557 MB / 0.5889 GB, free: 26.87 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.503e-05/0.3862, allocations: 9.125 kB / 0.5889 GB, free: 26.87 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005017/0.3912, allocations: 0.7756 MB / 0.5896 GB, free: 26.71 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/0.3926, allocations: 0.7706 MB / 0.5904 GB, free: 26.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000256/0.3928, allocations: 260.1 kB / 0.5906 GB, free: 25.93 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002031/0.3931, allocations: 80.38 kB / 0.5907 GB, free: 25.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002384/0.3955, allocations: 1.081 MB / 0.5918 GB, free: 25.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.3955, allocations: 7.938 kB / 0.5918 GB, free: 25.51 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.481e-05/0.3956, allocations: 33.94 kB / 0.5918 GB, free: 25.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/0.3956, allocations: 18.78 kB / 0.5918 GB, free: 25.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002416/0.398, allocations: 1.121 MB / 0.5929 GB, free: 25.14 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.006688/0.4047, allocations: 3.498 MB / 0.5963 GB, free: 23.17 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002092/0.4069, allocations: 1.429 MB / 0.5977 GB, free: 22.23 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001533/0.4084, allocations: 0.7876 MB / 0.5985 GB, free: 21.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001147/0.4085, allocations: 15.67 kB / 0.5985 GB, free: 21.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.4086, allocations: 41.27 kB / 0.5986 GB, free: 21.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 3.417e-06/0.4086, allocations: 0 / 0.5986 GB, free: 21.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02641/0.435, allocations: 6.877 MB / 0.6053 GB, free: 20.61 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.4351, allocations: 62.19 kB / 0.6053 GB, free: 20.55 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.4364, allocations: 0.8885 MB / 0.6062 GB, free: 20.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002546/0.4367, allocations: 41.2 kB / 0.6062 GB, free: 20.13 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002893/0.437, allocations: 0.4893 MB / 0.6067 GB, free: 19.74 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003291/0.4373, allocations: 348 kB / 0.6071 GB, free: 19.46 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003939/0.4377, allocations: 204.7 kB / 0.6072 GB, free: 19.36 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.169e-05/0.4378, allocations: 357.1 kB / 0.6076 GB, free: 19.04 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001509/0.4393, allocations: 0.7316 MB / 0.6083 GB, free: 18.78 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001624/0.4409, allocations: 0.8654 MB / 0.6091 GB, free: 18.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01841/0.4594, allocations: 4.845 MB / 0.6139 GB, free: 17.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/0.4594, allocations: 0 / 0.6139 GB, free: 17.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01286/0.4723, allocations: 4.288 MB / 0.6181 GB, free: 14.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/0.4723, allocations: 10.34 kB / 0.6181 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.4724, allocations: 0 / 0.6181 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005191/0.4776, allocations: 1.726 MB / 0.6198 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/0.4787, allocations: 227.7 kB / 0.62 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0168/0.4955, allocations: 8.342 MB / 0.6281 GB, free: 4.227 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001678/0.4972, allocations: 178.9 kB / 0.6283 GB, free: 4.051 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001253/0.4974, allocations: 39.98 kB / 0.6283 GB, free: 4.012 MB / 430.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.000474/0.4979, allocations: 240.2 kB / 0.6286 GB, free: 3.77 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002295/0.4981, allocations: 118.5 kB / 0.6287 GB, free: 3.652 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0115/0.5096, allocations: 4.022 MB / 0.6326 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-05/0.5097, allocations: 11.94 kB / 0.6326 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.5097, allocations: 3.938 kB / 0.6326 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.303e-05/0.5097, allocations: 3.984 kB / 0.6326 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02111/0.5308, allocations: 5.629 MB / 0.6381 GB, free: 9.824 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.178e-05/0.5309, allocations: 3.938 kB / 0.6381 GB, free: 9.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001163/0.5321, allocations: 131.8 kB / 0.6383 GB, free: 9.691 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009078/0.5412, allocations: 1.737 MB / 0.6399 GB, free: 7.945 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003284/0.5416, allocations: 20 kB / 0.64 GB, free: 7.926 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02582/0.5674, allocations: 7.34 MB / 0.6471 GB, free: 456 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.5674, allocations: 4 kB / 0.6471 GB, free: 452 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02329/0.5907, allocations: 4.962 MB / 0.652 GB, free: 11.45 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006084/0.5914, allocations: 203.4 kB / 0.6522 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003926/0.5918, allocations: 16 kB / 0.6522 GB, free: 11.22 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001626/0.5935, allocations: 115.8 kB / 0.6523 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009273/0.5944, allocations: 212.6 kB / 0.6525 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/0.5945, allocations: 23.98 kB / 0.6525 GB, free: 10.87 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001056/0.5956, allocations: 0.5969 MB / 0.6531 GB, free: 10.27 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5956, allocations: 0 / 0.6531 GB, free: 10.27 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001909/0.5975, allocations: 439.4 kB / 0.6535 GB, free: 9.836 MB / 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.0003639/0.5979, allocations: 135.1 kB / 0.6537 GB, free: 9.695 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007573/0.6055, allocations: 2.429 MB / 0.656 GB, free: 7.254 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.6055, allocations: 0 / 0.656 GB, free: 7.254 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004789/0.6103, allocations: 1.56 MB / 0.6576 GB, free: 5.68 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.6115, allocations: 88.42 kB / 0.6576 GB, free: 5.594 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004683/0.6162, allocations: 2.528 MB / 0.6601 GB, free: 3.039 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000729/0.617, allocations: 1.099 MB / 0.6612 GB, free: 1.914 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004733/0.6175, allocations: 67.42 kB / 0.6612 GB, free: 1.848 MB / 462.1 MB Notification: Performance of SimCode: time 1.403e-06/0.6175, allocations: 0 / 0.6612 GB, free: 1.848 MB / 462.1 MB Notification: Performance of Templates: time 0.02817/0.6457, allocations: 20.07 MB / 0.6808 GB, free: 13.77 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)