Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07102/0.07102, allocations: 12.2 MB / 27.16 MB, free: 116 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008936/0.0008937, allocations: 106.9 kB / 30.67 MB, free: 6.418 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 205.4 MB / 239.5 MB, free: 10.66 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.001063/0.001063, allocations: 181.1 kB / 290.6 MB, free: 8.098 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4178/0.4178, allocations: 78.5 MB / 420.1 MB, free: 6.559 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008645/0.0008646, allocations: 32.22 kB / 0.4894 GB, free: 37.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1236, allocations: 69.25 MB / 0.557 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.005956/0.1296, allocations: 5.665 MB / 0.5625 GB, free: 3.125 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003392/0.1331, allocations: 1.816 MB / 0.5643 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004501/0.1335, allocations: 15.94 kB / 0.5643 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003878/0.1339, allocations: 150.8 kB / 0.5645 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001407/0.1353, allocations: 0.6657 MB / 0.5651 GB, free: 484 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.1364, allocations: 0.5081 MB / 0.5656 GB, free: 15.97 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001091/0.1375, allocations: 0.9246 MB / 0.5665 GB, free: 15.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000372/0.1379, allocations: 257.7 kB / 0.5668 GB, free: 14.78 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005305/0.1384, allocations: 0.5019 MB / 0.5673 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006322/0.1391, allocations: 0.6261 MB / 0.5679 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.776e-05/0.1392, allocations: 56 kB / 0.5679 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003469/0.1395, allocations: 163.8 kB / 0.5681 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000178/0.1397, allocations: 211 kB / 0.5683 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001681/0.1399, allocations: 229 kB / 0.5685 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009541/0.1409, allocations: 1.06 MB / 0.5695 GB, free: 11.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.1409, allocations: 0 / 0.5695 GB, free: 11.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1409, allocations: 4 kB / 0.5695 GB, free: 11.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.1409, allocations: 0 / 0.5695 GB, free: 11.93 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.007143/0.1481, allocations: 2.401 MB / 0.5719 GB, free: 9.473 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.1481, allocations: 15.98 kB / 0.5719 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004698/0.1528, allocations: 0.7827 MB / 0.5727 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.154, allocations: 0.7304 MB / 0.5734 GB, free: 7.887 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002906/0.1543, allocations: 268.1 kB / 0.5736 GB, free: 7.586 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/0.1545, allocations: 83.98 kB / 0.5737 GB, free: 7.504 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002237/0.1567, allocations: 1.151 MB / 0.5748 GB, free: 6.348 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.1567, allocations: 3.984 kB / 0.5748 GB, free: 6.344 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.133e-05/0.1568, allocations: 32 kB / 0.5749 GB, free: 6.312 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.642e-05/0.1569, allocations: 24 kB / 0.5749 GB, free: 6.289 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002551/0.1594, allocations: 1.234 MB / 0.5761 GB, free: 5.055 MB / 398.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.005535/0.165, allocations: 3.626 MB / 0.5796 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002143/0.1671, allocations: 1.51 MB / 0.5811 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.794e-05/0.1672, allocations: 20.92 kB / 0.5811 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.1673, allocations: 43.56 kB / 0.5812 GB, free: 15.55 MB / 414.1 MB Notification: Performance of pre-optimization done (n=97): time 1.142e-05/0.1673, allocations: 0 / 0.5812 GB, free: 15.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=97): time 0.02666/0.1939, allocations: 8.165 MB / 0.5892 GB, free: 7.352 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.194, allocations: 64.41 kB / 0.5892 GB, free: 7.277 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.1951, allocations: 0.8884 MB / 0.5901 GB, free: 6.371 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001389/0.1953, allocations: 41.7 kB / 0.5901 GB, free: 6.324 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003478/0.1956, allocations: 496.8 kB / 0.5906 GB, free: 5.832 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003326/0.196, allocations: 350.9 kB / 0.5909 GB, free: 5.484 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.644e-05/0.196, allocations: 24 kB / 0.591 GB, free: 5.461 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1962, allocations: 357.9 kB / 0.5913 GB, free: 5.105 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001677/0.1979, allocations: 0.8068 MB / 0.5921 GB, free: 4.301 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001756/0.1996, allocations: 0.9283 MB / 0.593 GB, free: 3.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001738/0.2014, allocations: 0.8627 MB / 0.5938 GB, free: 2.477 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.2014, allocations: 0 / 0.5938 GB, free: 2.477 MB / 414.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01451/0.2159, allocations: 5.21 MB / 0.5989 GB, free: 13.25 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.007e-05/0.216, allocations: 8 kB / 0.5989 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.216, allocations: 0 / 0.5989 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006639/0.2227, allocations: 2.104 MB / 0.601 GB, free: 11.13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/0.2239, allocations: 239.7 kB / 0.6012 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02206/0.246, allocations: 9.99 MB / 0.611 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/0.2475, allocations: 223 kB / 0.6112 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.413e-05/0.2476, allocations: 43.98 kB / 0.6112 GB, free: 0.5117 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.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 (112): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 11} Notification: Performance of prepare postOptimizeDAE: time 0.0004467/0.2481, allocations: 237.5 kB / 0.6114 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001828/0.2482, allocations: 122.5 kB / 0.6116 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01397/0.2622, allocations: 4.956 MB / 0.6164 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.178e-05/0.2623, allocations: 12 kB / 0.6164 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2623, allocations: 0 / 0.6164 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.572e-05/0.2624, allocations: 7.984 kB / 0.6164 GB, free: 11.15 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01634/0.2787, allocations: 6.555 MB / 0.6228 GB, free: 4.457 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/0.2788, allocations: 0 / 0.6228 GB, free: 4.457 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007485/0.2795, allocations: 147.8 kB / 0.623 GB, free: 4.312 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005986/0.2855, allocations: 2.054 MB / 0.625 GB, free: 2.254 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001359/0.2857, allocations: 16 kB / 0.625 GB, free: 2.238 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01805/0.3037, allocations: 8.652 MB / 0.6334 GB, free: 9.445 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.3038, allocations: 7.938 kB / 0.6334 GB, free: 9.438 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0156/0.3194, allocations: 5.997 MB / 0.6393 GB, free: 3.418 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003676/0.3198, allocations: 203.4 kB / 0.6395 GB, free: 3.199 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001583/0.3199, allocations: 19.95 kB / 0.6395 GB, free: 3.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/0.321, allocations: 155.9 kB / 0.6397 GB, free: 3.027 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006172/0.3216, allocations: 216.6 kB / 0.6399 GB, free: 2.816 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-05/0.3217, allocations: 23.98 kB / 0.6399 GB, free: 2.793 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007019/0.3224, allocations: 0.5969 MB / 0.6405 GB, free: 2.188 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3224, allocations: 4 kB / 0.6405 GB, free: 2.184 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001196/0.3236, allocations: 435.5 kB / 0.6409 GB, free: 1.758 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * 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 (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002476/0.3239, allocations: 127.2 kB / 0.641 GB, free: 1.621 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006979/0.3309, allocations: 2.775 MB / 0.6437 GB, free: 14.83 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.3309, allocations: 0 / 0.6437 GB, free: 14.83 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004675/0.3356, allocations: 1.79 MB / 0.6455 GB, free: 13.03 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005426/0.3361, allocations: 68.42 kB / 0.6455 GB, free: 12.96 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003191/0.3393, allocations: 2.398 MB / 0.6479 GB, free: 10.54 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005652/0.3399, allocations: 1.126 MB / 0.649 GB, free: 9.391 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003287/0.3403, allocations: 82.77 kB / 0.6491 GB, free: 9.305 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/0.3405, allocations: 67.41 kB / 0.6491 GB, free: 9.238 MB / 478.1 MB Notification: Performance of SimCode: time 5.2e-07/0.3405, allocations: 0 / 0.6491 GB, free: 9.238 MB / 478.1 MB Notification: Performance of Templates: time 0.2449/0.5854, allocations: 20.11 MB / 0.6688 GB, free: 94.24 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile Environment - environmentSimulation: (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1) Environment - environmentSimulation: