Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.conf.json 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/Modelica 4.0.0+maint.om/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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 169.3 kB / 16.1 MB, free: 5.688 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 223.3 MB / 240.1 MB, free: 11.69 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008747/0.0008748, allocations: 104.5 kB / 291.3 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5218/0.5218, allocations: 78.62 MB / 421 MB, free: 9.121 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000541/0.0005411, allocations: 8 kB / 0.4894 GB, free: 9.25 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4183/0.4189, allocations: 69.35 MB / 0.5571 GB, free: 18.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG): time 0.005386/0.4243, allocations: 6.237 MB / 0.5632 GB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00428/0.4287, allocations: 1.973 MB / 0.5652 GB, free: 10.56 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008061/0.4295, allocations: 12 kB / 0.5652 GB, free: 10.55 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007371/0.4302, allocations: 182.8 kB / 0.5653 GB, free: 10.37 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001667/0.4319, allocations: 0.6432 MB / 0.566 GB, free: 9.723 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation Generator.xq <> Generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001335/0.4333, allocations: 0.6173 MB / 0.5666 GB, free: 9.113 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001028/0.4343, allocations: 1.393 MB / 0.5679 GB, free: 7.711 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003701/0.4347, allocations: 279.4 kB / 0.5682 GB, free: 7.43 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005052/0.4352, allocations: 0.5248 MB / 0.5687 GB, free: 6.902 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005626/0.4358, allocations: 0.653 MB / 0.5693 GB, free: 6.246 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.4359, allocations: 52 kB / 0.5694 GB, free: 6.195 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003635/0.4362, allocations: 187.9 kB / 0.5696 GB, free: 6.012 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001723/0.4364, allocations: 230.8 kB / 0.5698 GB, free: 5.785 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003416/0.4368, allocations: 0.5723 MB / 0.5704 GB, free: 5.203 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007699/0.4376, allocations: 1.133 MB / 0.5715 GB, free: 4.066 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.4376, allocations: 0 / 0.5715 GB, free: 4.066 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4376, allocations: 0 / 0.5715 GB, free: 4.066 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.4376, allocations: 0 / 0.5715 GB, free: 4.066 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.006492/0.4441, allocations: 2.369 MB / 0.5738 GB, free: 1.645 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.4441, allocations: 8.031 kB / 0.5738 GB, free: 1.637 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004473/0.4486, allocations: 0.7788 MB / 0.5745 GB, free: 0.8555 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.4498, allocations: 0.8149 MB / 0.5753 GB, free: 15.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002955/0.4501, allocations: 264.2 kB / 0.5756 GB, free: 15.69 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000163/0.4503, allocations: 75.98 kB / 0.5757 GB, free: 15.61 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002415/0.4527, allocations: 1.2 MB / 0.5768 GB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.4528, allocations: 3.938 kB / 0.5768 GB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.4529, allocations: 32 kB / 0.5769 GB, free: 14.37 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/0.4529, allocations: 19.94 kB / 0.5769 GB, free: 14.35 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002398/0.4553, allocations: 1.171 MB / 0.578 GB, free: 13.18 MB / 394.7 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.005967/0.4613, allocations: 3.529 MB / 0.5815 GB, free: 9.496 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002358/0.4637, allocations: 1.526 MB / 0.583 GB, free: 7.848 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001519/0.4652, allocations: 0.8282 MB / 0.5838 GB, free: 7.012 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001218/0.4653, allocations: 12.98 kB / 0.5838 GB, free: 7 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.4654, allocations: 43.56 kB / 0.5838 GB, free: 6.945 MB / 394.7 MB Notification: Performance of pre-optimization done (n=90): time 2.796e-06/0.4654, allocations: 0 / 0.5838 GB, free: 6.945 MB / 394.7 MB Notification: Performance of matching and sorting (n=90): time 0.02531/0.4907, allocations: 8.055 MB / 0.5917 GB, free: 14.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.535e-05/0.4908, allocations: 86.11 kB / 0.5918 GB, free: 14.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001602/0.4924, allocations: 0.9416 MB / 0.5927 GB, free: 13.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002173/0.4927, allocations: 45.7 kB / 0.5927 GB, free: 13.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003825/0.4931, allocations: 484.5 kB / 0.5932 GB, free: 13.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003517/0.4934, allocations: 323.3 kB / 0.5935 GB, free: 12.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/0.4936, allocations: 101.7 kB / 0.5936 GB, free: 12.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.4937, allocations: 353.9 kB / 0.5939 GB, free: 12.49 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001634/0.4954, allocations: 0.7756 MB / 0.5947 GB, free: 11.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001698/0.4971, allocations: 0.9282 MB / 0.5956 GB, free: 10.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01809/0.5152, allocations: 5.236 MB / 0.6007 GB, free: 5.484 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.5153, allocations: 0 / 0.6007 GB, free: 5.484 MB / 410.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.01426/0.5295, allocations: 5.144 MB / 0.6057 GB, free: 332 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001593/0.5298, allocations: 153.1 kB / 0.6059 GB, free: 148 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.5298, allocations: 0 / 0.6059 GB, free: 148 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006127/0.5359, allocations: 2.022 MB / 0.6079 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.5371, allocations: 215.7 kB / 0.6081 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0204/0.5575, allocations: 9.323 MB / 0.6172 GB, free: 4.445 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/0.5592, allocations: 226.8 kB / 0.6174 GB, free: 4.223 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/0.5593, allocations: 39.98 kB / 0.6174 GB, free: 4.184 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.5593, allocations: 4 kB / 0.6174 GB, free: 4.18 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01351/0.5728, allocations: 4.98 MB / 0.6223 GB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.352e-05/0.5729, allocations: 8 kB / 0.6223 GB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006022/0.5789, allocations: 2.03 MB / 0.6243 GB, free: 13.15 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/0.5801, allocations: 207.7 kB / 0.6245 GB, free: 12.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02019/0.6003, allocations: 9.323 MB / 0.6336 GB, free: 3.473 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001678/0.602, allocations: 199.1 kB / 0.6338 GB, free: 3.277 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.6021, allocations: 36 kB / 0.6338 GB, free: 3.242 MB / 442.7 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0007383/0.6028, allocations: 324.9 kB / 0.6341 GB, free: 2.914 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002396/0.6031, allocations: 126.4 kB / 0.6342 GB, free: 2.789 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01649/0.6196, allocations: 4.854 MB / 0.639 GB, free: 13.92 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.163e-05/0.6197, allocations: 8 kB / 0.639 GB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.6197, allocations: 0 / 0.639 GB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.221e-05/0.6197, allocations: 7.922 kB / 0.639 GB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02365/0.6434, allocations: 6.477 MB / 0.6453 GB, free: 7.285 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.353e-05/0.6435, allocations: 4 kB / 0.6453 GB, free: 7.281 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/0.6445, allocations: 115.8 kB / 0.6454 GB, free: 7.168 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009229/0.6537, allocations: 2.058 MB / 0.6475 GB, free: 5.105 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002514/0.654, allocations: 23.92 kB / 0.6475 GB, free: 5.082 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02749/0.6815, allocations: 8.191 MB / 0.6555 GB, free: 12.75 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.408e-06/0.6816, allocations: 3.938 kB / 0.6555 GB, free: 12.75 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02396/0.7056, allocations: 5.861 MB / 0.6612 GB, free: 6.859 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006774/0.7063, allocations: 211.4 kB / 0.6614 GB, free: 6.633 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002403/0.7066, allocations: 16 kB / 0.6614 GB, free: 6.617 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001613/0.7082, allocations: 151.9 kB / 0.6616 GB, free: 6.469 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009387/0.7092, allocations: 200.6 kB / 0.6618 GB, free: 6.273 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001221/0.7093, allocations: 23.98 kB / 0.6618 GB, free: 6.25 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001461/0.7108, allocations: 0.6391 MB / 0.6624 GB, free: 5.602 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.7108, allocations: 0 / 0.6624 GB, free: 5.602 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002939/0.7137, allocations: 0.6983 MB / 0.6631 GB, free: 4.902 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (TGTypeII1.transferFunction1.x_scaled[1],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 (57): * Single equations (assignments): 56 * 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.0003666/0.7141, allocations: 131.2 kB / 0.6632 GB, free: 4.762 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01686/0.731, allocations: 4.605 MB / 0.6677 GB, free: 144 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.731, allocations: 4.125 kB / 0.6677 GB, free: 140 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004792/0.7358, allocations: 1.745 MB / 0.6694 GB, free: 14.38 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.737, allocations: 106.6 kB / 0.6695 GB, free: 14.27 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004374/0.7413, allocations: 2.666 MB / 0.6721 GB, free: 11.58 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007506/0.7421, allocations: 1.109 MB / 0.6732 GB, free: 10.44 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002943/0.7424, allocations: 67.36 kB / 0.6733 GB, free: 10.38 MB / 490.7 MB Notification: Performance of SimCode: time 9.22e-07/0.7424, allocations: 0 / 0.6733 GB, free: 10.38 MB / 490.7 MB Notification: Performance of Templates: time 0.3106/1.053, allocations: 20.86 MB / 0.6936 GB, free: 113.9 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe 2>&1)