Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008896/0.0008896, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.303/1.303, allocations: 223.2 MB / 239 MB, free: 5.473 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.001029/0.001029, allocations: 189 kB / 290.2 MB, free: 2.164 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4472/0.4472, allocations: 78.52 MB / 419.8 MB, free: 4.344 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003407/0.0003407, allocations: 12 kB / 499.7 MB, free: 6.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1155, allocations: 69.35 MB / 0.5557 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG): time 0.22/0.3356, allocations: 5.526 MB / 0.5611 GB, free: 37.57 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003418/0.3391, allocations: 1.911 MB / 0.5629 GB, free: 37.3 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008516/0.3399, allocations: 11.5 kB / 0.563 GB, free: 37.3 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007253/0.3407, allocations: 166.9 kB / 0.5631 GB, free: 37.24 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001846/0.3425, allocations: 0.6519 MB / 0.5637 GB, free: 37.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001255/0.3438, allocations: 0.5527 MB / 0.5643 GB, free: 37.13 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001389/0.3452, allocations: 0.9197 MB / 0.5652 GB, free: 37.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004564/0.3457, allocations: 253.3 kB / 0.5654 GB, free: 37.06 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007918/0.3465, allocations: 0.519 MB / 0.5659 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005994/0.3471, allocations: 0.6161 MB / 0.5665 GB, free: 36.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.3472, allocations: 51.5 kB / 0.5666 GB, free: 36.82 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004122/0.3476, allocations: 168.6 kB / 0.5667 GB, free: 36.81 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001941/0.3478, allocations: 219.6 kB / 0.567 GB, free: 36.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002114/0.348, allocations: 219.1 kB / 0.5672 GB, free: 36.67 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009188/0.349, allocations: 1.093 MB / 0.5682 GB, free: 36.5 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.349, allocations: 0 / 0.5682 GB, free: 36.5 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.349, allocations: 0.625 kB / 0.5682 GB, free: 36.5 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.588e-05/0.349, allocations: 2.219 kB / 0.5682 GB, free: 36.5 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.007038/0.3561, allocations: 2.374 MB / 0.5706 GB, free: 35.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.3561, allocations: 8.688 kB / 0.5706 GB, free: 35.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004876/0.361, allocations: 0.7858 MB / 0.5713 GB, free: 35.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001534/0.3625, allocations: 0.773 MB / 0.5721 GB, free: 35.21 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002442/0.3628, allocations: 271 kB / 0.5723 GB, free: 35.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.363, allocations: 73.66 kB / 0.5724 GB, free: 35.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002167/0.3652, allocations: 1.183 MB / 0.5736 GB, free: 34.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.3652, allocations: 0 / 0.5736 GB, free: 34.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.3653, allocations: 33.77 kB / 0.5736 GB, free: 34.93 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.3653, allocations: 21.97 kB / 0.5736 GB, free: 34.93 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00221/0.3675, allocations: 1.161 MB / 0.5748 GB, free: 34.58 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.005688/0.3733, allocations: 3.624 MB / 0.5783 GB, free: 32.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001998/0.3753, allocations: 1.514 MB / 0.5798 GB, free: 31.54 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001115/0.3754, allocations: 9.094 kB / 0.5798 GB, free: 31.54 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.3754, allocations: 49.16 kB / 0.5798 GB, free: 31.49 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 3.486e-06/0.3754, allocations: 0 / 0.5798 GB, free: 31.49 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.02803/0.4035, allocations: 8.463 MB / 0.5881 GB, free: 30.05 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.4036, allocations: 87.02 kB / 0.5882 GB, free: 29.96 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001592/0.4052, allocations: 0.9355 MB / 0.5891 GB, free: 29.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002791/0.4055, allocations: 42.3 kB / 0.5891 GB, free: 29.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003233/0.4058, allocations: 478.8 kB / 0.5896 GB, free: 29.15 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005523/0.4064, allocations: 321.5 kB / 0.5899 GB, free: 28.89 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.4065, allocations: 21.25 kB / 0.5899 GB, free: 28.88 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.4067, allocations: 353.8 kB / 0.5902 GB, free: 28.55 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001838/0.4085, allocations: 0.7607 MB / 0.591 GB, free: 28.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001682/0.4102, allocations: 0.8945 MB / 0.5919 GB, free: 27.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001745/0.412, allocations: 0.8229 MB / 0.5927 GB, free: 27.6 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.412, allocations: 3.953 kB / 0.5927 GB, free: 27.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.01534/0.4273, allocations: 5.114 MB / 0.5977 GB, free: 26.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001844/0.4275, allocations: 0.7947 MB / 0.5984 GB, free: 25.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.4276, allocations: 1.25 kB / 0.5984 GB, free: 25.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00739/0.435, allocations: 2.114 MB / 0.6005 GB, free: 25.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.4361, allocations: 202.2 kB / 0.6007 GB, free: 25.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02346/0.4596, allocations: 9.993 MB / 0.6105 GB, free: 21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001918/0.4615, allocations: 216.5 kB / 0.6107 GB, free: 20.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003426/0.4619, allocations: 38.17 kB / 0.6107 GB, free: 20.93 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.4619, allocations: 2.875 kB / 0.6107 GB, free: 20.93 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01381/0.4758, allocations: 4.965 MB / 0.6156 GB, free: 16.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.195e-05/0.4758, allocations: 4 kB / 0.6156 GB, free: 16.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006043/0.4819, allocations: 2.105 MB / 0.6176 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.483, allocations: 199.7 kB / 0.6178 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02008/0.5031, allocations: 9.975 MB / 0.6275 GB, free: 4.141 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/0.5048, allocations: 203.1 kB / 0.6277 GB, free: 3.941 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002125/0.5051, allocations: 39.98 kB / 0.6278 GB, free: 3.902 MB / 430.1 MB Warning: Assuming fixed start value for the following 3 variables: TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real 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 (106): * Single equations (assignments): 105 * 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.0008213/0.5059, allocations: 328.1 kB / 0.6281 GB, free: 3.578 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003442/0.5063, allocations: 118.5 kB / 0.6282 GB, free: 3.461 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01294/0.5192, allocations: 4.869 MB / 0.633 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/0.5193, allocations: 8 kB / 0.633 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.5193, allocations: 0 / 0.633 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.317e-05/0.5193, allocations: 3.984 kB / 0.633 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01618/0.5355, allocations: 6.45 MB / 0.6393 GB, free: 7.977 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.005e-05/0.5356, allocations: 5.828 kB / 0.6393 GB, free: 7.973 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007492/0.5363, allocations: 116.8 kB / 0.6394 GB, free: 7.855 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006447/0.5428, allocations: 2.047 MB / 0.6414 GB, free: 5.809 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002098/0.543, allocations: 19.98 kB / 0.6414 GB, free: 5.789 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01997/0.563, allocations: 8.648 MB / 0.6498 GB, free: 13 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.5631, allocations: 0 / 0.6498 GB, free: 13 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01625/0.5793, allocations: 5.834 MB / 0.6555 GB, free: 7.145 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000448/0.5798, allocations: 203.5 kB / 0.6557 GB, free: 6.926 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003212/0.5801, allocations: 21.2 kB / 0.6558 GB, free: 6.906 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/0.5814, allocations: 151.9 kB / 0.6559 GB, free: 6.758 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006215/0.582, allocations: 200.6 kB / 0.6561 GB, free: 6.562 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.35e-05/0.5821, allocations: 20.52 kB / 0.6561 GB, free: 6.543 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001051/0.5832, allocations: 0.6509 MB / 0.6568 GB, free: 5.883 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5832, allocations: 0 / 0.6568 GB, free: 5.883 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002308/0.5855, allocations: 0.6943 MB / 0.6574 GB, free: 5.188 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,TGTypeII1.transferFunction1.x_scaled[1]) * 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 (56): * Single equations (assignments): 55 * 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.0002896/0.5858, allocations: 128.2 kB / 0.6576 GB, free: 5.051 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01226/0.5981, allocations: 4.601 MB / 0.662 GB, free: 456 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/0.5982, allocations: 0 / 0.662 GB, free: 456 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004945/0.6031, allocations: 1.738 MB / 0.6637 GB, free: 14.69 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008352/0.604, allocations: 86.56 kB / 0.6638 GB, free: 14.6 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004634/0.6086, allocations: 2.47 MB / 0.6662 GB, free: 12.14 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007301/0.6094, allocations: 1.132 MB / 0.6673 GB, free: 10.97 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005466/0.6099, allocations: 111.2 kB / 0.6674 GB, free: 10.86 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002249/0.6102, allocations: 67.42 kB / 0.6675 GB, free: 10.8 MB / 478.1 MB Notification: Performance of SimCode: time 8.01e-07/0.6102, allocations: 1.219 kB / 0.6675 GB, free: 10.8 MB / 478.1 MB Notification: Performance of Templates: time 0.04122/0.6514, allocations: 27.37 MB / 0.6942 GB, free: 15.58 MB / 0.4981 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe 2>&1) Environment - environmentSimulation: