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.001306/0.001306, allocations: 103.5 kB / 15.98 MB, free: 6.352 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.331/1.331, allocations: 222.9 MB / 239.6 MB, free: 4.711 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.001479/0.001479, allocations: 192.5 kB / 289.9 MB, free: 2.449 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5205/0.5205, allocations: 91.9 MB / 432 MB, free: 9.387 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001721/0.001721, allocations: 75.89 kB / 0.502 GB, free: 8.062 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3333, allocations: 71.27 MB / 0.5716 GB, free: 36.65 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.005799/0.3391, allocations: 6.841 MB / 0.5783 GB, free: 32.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003397/0.3426, allocations: 1.931 MB / 0.5802 GB, free: 31.45 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009613/0.3436, allocations: 15.41 kB / 0.5802 GB, free: 31.44 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005625/0.3442, allocations: 175.9 kB / 0.5804 GB, free: 31.37 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001685/0.3459, allocations: 0.6232 MB / 0.581 GB, free: 30.96 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.347, allocations: 0.584 MB / 0.5816 GB, free: 30.64 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001315/0.3484, allocations: 1.413 MB / 0.5829 GB, free: 29.93 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004096/0.3488, allocations: 330.7 kB / 0.5833 GB, free: 29.79 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006497/0.3495, allocations: 0.591 MB / 0.5838 GB, free: 29.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005873/0.35, allocations: 0.7301 MB / 0.5845 GB, free: 29.13 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000145/0.3502, allocations: 102.3 kB / 0.5846 GB, free: 29.13 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004313/0.3506, allocations: 241.3 kB / 0.5849 GB, free: 29.09 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001568/0.3508, allocations: 271.3 kB / 0.5851 GB, free: 28.91 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003996/0.3512, allocations: 0.6405 MB / 0.5858 GB, free: 28.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009901/0.3522, allocations: 1.141 MB / 0.5869 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3522, allocations: 0 / 0.5869 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3522, allocations: 0 / 0.5869 GB, free: 28.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.032e-05/0.3523, allocations: 1.344 kB / 0.5869 GB, free: 28.02 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.007748/0.36, allocations: 2.555 MB / 0.5894 GB, free: 26.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.3601, allocations: 8.188 kB / 0.5894 GB, free: 26.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004934/0.365, allocations: 0.7833 MB / 0.5901 GB, free: 26.68 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/0.3663, allocations: 0.7685 MB / 0.5909 GB, free: 26.12 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002564/0.3666, allocations: 252.8 kB / 0.5911 GB, free: 25.91 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001772/0.3667, allocations: 80.44 kB / 0.5912 GB, free: 25.88 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002318/0.3691, allocations: 1.084 MB / 0.5923 GB, free: 25.49 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.3691, allocations: 11.25 kB / 0.5923 GB, free: 25.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.315e-05/0.3692, allocations: 29.53 kB / 0.5923 GB, free: 25.46 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.3692, allocations: 18.34 kB / 0.5923 GB, free: 25.46 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002286/0.3715, allocations: 1.12 MB / 0.5934 GB, free: 25.12 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.006059/0.3776, allocations: 3.505 MB / 0.5968 GB, free: 23.13 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001994/0.3796, allocations: 1.43 MB / 0.5982 GB, free: 22.19 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001558/0.3812, allocations: 0.7868 MB / 0.599 GB, free: 21.89 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/0.3813, allocations: 18.42 kB / 0.599 GB, free: 21.89 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.3813, allocations: 43.25 kB / 0.5991 GB, free: 21.84 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 2.866e-06/0.3814, allocations: 1.188 kB / 0.5991 GB, free: 21.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02714/0.4085, allocations: 6.879 MB / 0.6058 GB, free: 20.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.4086, allocations: 63.61 kB / 0.6058 GB, free: 20.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/0.4098, allocations: 0.8874 MB / 0.6067 GB, free: 20.13 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002394/0.4101, allocations: 46.78 kB / 0.6068 GB, free: 20.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002836/0.4104, allocations: 498.9 kB / 0.6072 GB, free: 19.69 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003517/0.4107, allocations: 346.7 kB / 0.6076 GB, free: 19.42 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004008/0.4111, allocations: 207.1 kB / 0.6078 GB, free: 19.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.479e-05/0.4112, allocations: 347.4 kB / 0.6081 GB, free: 19 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00165/0.4129, allocations: 0.7295 MB / 0.6088 GB, free: 18.74 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001671/0.4146, allocations: 0.8651 MB / 0.6096 GB, free: 18.38 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0187/0.4333, allocations: 4.86 MB / 0.6144 GB, free: 17.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/0.4333, allocations: 1.188 kB / 0.6144 GB, free: 17.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01287/0.4462, allocations: 4.284 MB / 0.6186 GB, free: 14.24 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.232e-05/0.4463, allocations: 8 kB / 0.6186 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.4463, allocations: 0 / 0.6186 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005274/0.4516, allocations: 1.729 MB / 0.6203 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/0.4528, allocations: 227.7 kB / 0.6205 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01791/0.4707, allocations: 9.066 MB / 0.6293 GB, free: 3.074 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001676/0.4724, allocations: 178.9 kB / 0.6295 GB, free: 2.898 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001564/0.4726, allocations: 39.98 kB / 0.6296 GB, free: 2.859 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.0004818/0.4731, allocations: 245.6 kB / 0.6298 GB, free: 2.609 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002424/0.4733, allocations: 122.4 kB / 0.6299 GB, free: 2.488 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01201/0.4854, allocations: 4.014 MB / 0.6338 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.589e-05/0.4854, allocations: 12 kB / 0.6338 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4854, allocations: 0 / 0.6338 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.004e-05/0.4855, allocations: 7.969 kB / 0.6338 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01571/0.5012, allocations: 5.629 MB / 0.6393 GB, free: 8.672 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.997e-05/0.5013, allocations: 4 kB / 0.6393 GB, free: 8.668 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008793/0.5022, allocations: 131.8 kB / 0.6395 GB, free: 8.535 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005913/0.5081, allocations: 1.741 MB / 0.6412 GB, free: 6.789 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000292/0.5084, allocations: 19.98 kB / 0.6412 GB, free: 6.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01825/0.5267, allocations: 8.065 MB / 0.6491 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.5268, allocations: 0 / 0.6491 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01531/0.5421, allocations: 4.958 MB / 0.6539 GB, free: 9.574 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004676/0.5426, allocations: 211.4 kB / 0.6541 GB, free: 9.348 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002623/0.5429, allocations: 16 kB / 0.6541 GB, free: 9.332 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.544, allocations: 103.9 kB / 0.6542 GB, free: 9.23 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008003/0.5448, allocations: 224.7 kB / 0.6544 GB, free: 9.008 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.348e-05/0.5449, allocations: 23.98 kB / 0.6545 GB, free: 8.984 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008131/0.5457, allocations: 0.593 MB / 0.655 GB, free: 8.383 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5457, allocations: 0 / 0.655 GB, free: 8.383 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001488/0.5472, allocations: 439.4 kB / 0.6555 GB, free: 7.953 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.0003216/0.5475, allocations: 135.2 kB / 0.6556 GB, free: 7.809 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007308/0.5548, allocations: 2.506 MB / 0.658 GB, free: 5.293 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.5549, allocations: 0 / 0.658 GB, free: 5.293 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004954/0.5599, allocations: 1.609 MB / 0.6596 GB, free: 3.668 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.561, allocations: 96.34 kB / 0.6597 GB, free: 3.574 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004389/0.5654, allocations: 2.513 MB / 0.6622 GB, free: 1.027 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000682/0.5661, allocations: 1.099 MB / 0.6632 GB, free: 15.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003816/0.5665, allocations: 71.42 kB / 0.6633 GB, free: 15.83 MB / 478.1 MB Notification: Performance of SimCode: time 6.91e-07/0.5665, allocations: 4 kB / 0.6633 GB, free: 15.83 MB / 478.1 MB Notification: Performance of Templates: time 0.02673/0.5932, allocations: 20.08 MB / 0.6829 GB, free: 11.74 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)