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-master/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-master/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-master/package.mo): time 0.0813/0.0813, allocations: 12.6 MB / 28.9 MB, free: 0.5859 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 111.5 kB / 32.5 MB, free: 3.527 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.393/1.393, allocations: 205.1 MB / 241.1 MB, free: 12.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 184.5 kB / 291.4 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4442/0.4442, allocations: 78.51 MB / 420 MB, free: 11.23 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.004089/0.004089, allocations: 140.9 kB / 0.5565 GB, free: 28.61 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1135, allocations: 68.13 MB / 0.6231 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.008034/0.1215, allocations: 6.503 MB / 0.6294 GB, free: 8.852 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003721/0.1252, allocations: 1.834 MB / 0.6312 GB, free: 7.012 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004012/0.1256, allocations: 12 kB / 0.6312 GB, free: 7 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005097/0.1261, allocations: 218 kB / 0.6314 GB, free: 6.785 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001673/0.1278, allocations: 0.7687 MB / 0.6322 GB, free: 6.012 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.1291, allocations: 0.6056 MB / 0.6328 GB, free: 5.414 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001612/0.1307, allocations: 1.421 MB / 0.6342 GB, free: 3.988 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003994/0.1311, allocations: 224.4 kB / 0.6344 GB, free: 3.758 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000714/0.1318, allocations: 0.5951 MB / 0.635 GB, free: 3.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000846/0.1327, allocations: 0.7466 MB / 0.6357 GB, free: 2.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001627/0.1329, allocations: 100 kB / 0.6358 GB, free: 2.312 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004446/0.1333, allocations: 235.9 kB / 0.636 GB, free: 2.082 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002657/0.1336, allocations: 274.8 kB / 0.6363 GB, free: 1.812 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005972/0.1342, allocations: 0.6291 MB / 0.6369 GB, free: 1.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001759/0.1359, allocations: 1.525 MB / 0.6384 GB, free: 15.65 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1359, allocations: 0 / 0.6384 GB, free: 15.65 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1359, allocations: 0 / 0.6384 GB, free: 15.65 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.894e-05/0.1359, allocations: 0 / 0.6384 GB, free: 15.65 MB / 462.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.008632/0.1446, allocations: 2.601 MB / 0.6409 GB, free: 12.99 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1446, allocations: 15.98 kB / 0.6409 GB, free: 12.97 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005373/0.15, allocations: 0.7874 MB / 0.6417 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.1513, allocations: 0.7812 MB / 0.6425 GB, free: 11.35 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003249/0.1516, allocations: 260.2 kB / 0.6427 GB, free: 11.06 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001849/0.1518, allocations: 83.94 kB / 0.6428 GB, free: 10.98 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002595/0.1544, allocations: 1.085 MB / 0.6439 GB, free: 9.887 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.1544, allocations: 3.938 kB / 0.6439 GB, free: 9.883 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.1545, allocations: 28 kB / 0.6439 GB, free: 9.855 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.108e-05/0.1546, allocations: 20 kB / 0.6439 GB, free: 9.836 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002835/0.1574, allocations: 1.124 MB / 0.645 GB, free: 8.707 MB / 462.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.00644/0.1638, allocations: 3.445 MB / 0.6484 GB, free: 5.113 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00237/0.1662, allocations: 1.341 MB / 0.6497 GB, free: 3.652 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001741/0.168, allocations: 0.7109 MB / 0.6504 GB, free: 2.941 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.757e-05/0.168, allocations: 12.98 kB / 0.6504 GB, free: 2.93 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.1681, allocations: 43.56 kB / 0.6504 GB, free: 2.879 MB / 462.1 MB Notification: Performance of pre-optimization done (n=97): time 2.655e-06/0.1681, allocations: 0 / 0.6504 GB, free: 2.879 MB / 462.1 MB Notification: Performance of matching and sorting (n=97): time 0.02827/0.1963, allocations: 6.575 MB / 0.6568 GB, free: 12.27 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.1964, allocations: 64.41 kB / 0.6569 GB, free: 12.2 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/0.1977, allocations: 0.9002 MB / 0.6578 GB, free: 11.28 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001553/0.1979, allocations: 41.7 kB / 0.6578 GB, free: 11.23 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004513/0.1983, allocations: 0.4975 MB / 0.6583 GB, free: 10.73 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003992/0.1987, allocations: 360.8 kB / 0.6587 GB, free: 10.37 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004244/0.1992, allocations: 202.9 kB / 0.6589 GB, free: 10.16 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.1993, allocations: 349.9 kB / 0.6592 GB, free: 9.816 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001904/0.2012, allocations: 0.7209 MB / 0.6599 GB, free: 9.098 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002031/0.2033, allocations: 0.854 MB / 0.6607 GB, free: 8.211 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02027/0.2235, allocations: 4.826 MB / 0.6654 GB, free: 3.352 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.2235, allocations: 0 / 0.6654 GB, free: 3.352 MB / 478.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01532/0.2389, allocations: 4.25 MB / 0.6696 GB, free: 15.09 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.2389, allocations: 4 kB / 0.6696 GB, free: 15.08 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.2389, allocations: 7.938 kB / 0.6696 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006974/0.2459, allocations: 1.803 MB / 0.6714 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.247, allocations: 215.7 kB / 0.6716 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02428/0.2713, allocations: 9.336 MB / 0.6807 GB, free: 3.566 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/0.2728, allocations: 175.2 kB / 0.6808 GB, free: 3.395 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.2729, allocations: 43.92 kB / 0.6809 GB, free: 3.352 MB / 494.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.delta:VARIABLE(flow=false start = order3_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 (111): * Single equations (assignments): 110 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0005161/0.2734, allocations: 245.4 kB / 0.6811 GB, free: 3.102 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002412/0.2736, allocations: 123.2 kB / 0.6812 GB, free: 2.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01468/0.2883, allocations: 3.983 MB / 0.6851 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/0.2883, allocations: 8 kB / 0.6851 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.2883, allocations: 0 / 0.6851 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.048e-05/0.2884, allocations: 7.922 kB / 0.6851 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01724/0.3056, allocations: 5.583 MB / 0.6906 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/0.3056, allocations: 0 / 0.6906 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008068/0.3064, allocations: 139.7 kB / 0.6907 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006614/0.313, allocations: 1.749 MB / 0.6924 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001402/0.3132, allocations: 20 kB / 0.6925 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02117/0.3343, allocations: 8.085 MB / 0.7004 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3343, allocations: 0 / 0.7004 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01726/0.3516, allocations: 4.93 MB / 0.7052 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003933/0.352, allocations: 208.1 kB / 0.7054 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/0.3522, allocations: 16 kB / 0.7054 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/0.3533, allocations: 119.8 kB / 0.7055 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007571/0.3541, allocations: 212.7 kB / 0.7057 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.525e-05/0.3541, allocations: 23.98 kB / 0.7057 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008628/0.355, allocations: 0.6047 MB / 0.7063 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.01e-07/0.355, allocations: 4 kB / 0.7063 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001274/0.3563, allocations: 443.6 kB / 0.7067 GB, free: 8.512 MB / 0.5137 GB 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 (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.0002876/0.3566, allocations: 131.4 kB / 0.7069 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007491/0.3641, allocations: 2.386 MB / 0.7092 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3641, allocations: 4.125 kB / 0.7092 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005259/0.3693, allocations: 1.522 MB / 0.7107 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007971/0.3701, allocations: 89.89 kB / 0.7108 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004083/0.3742, allocations: 2.034 MB / 0.7128 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007765/0.375, allocations: 1.099 MB / 0.7138 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003454/0.3753, allocations: 86.72 kB / 0.7139 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002398/0.3756, allocations: 67.42 kB / 0.714 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of SimCode: time 9.22e-07/0.3756, allocations: 3.938 kB / 0.714 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of Templates: time 0.2614/0.637, allocations: 24.09 MB / 0.7375 GB, free: 78.93 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile (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 -s gbode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)