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.001006/0.001006, allocations: 174.9 kB / 16.07 MB, free: 5.605 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.45/1.45, allocations: 222.9 MB / 239.7 MB, free: 10.17 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.000806/0.0008059, allocations: 100.9 kB / 290.5 MB, free: 10.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5756/0.5756, allocations: 78.42 MB / 419.6 MB, free: 9.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003649/0.0003649, allocations: 15.98 kB / 499.1 MB, free: 10.62 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.305, allocations: 68.75 MB / 0.5545 GB, free: 20.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG): time 0.007208/0.3122, allocations: 6.708 MB / 0.5611 GB, free: 13.47 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004804/0.317, allocations: 1.989 MB / 0.563 GB, free: 11.48 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001399/0.3185, allocations: 15.94 kB / 0.563 GB, free: 11.46 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008494/0.3194, allocations: 182.8 kB / 0.5632 GB, free: 11.29 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002143/0.3216, allocations: 0.6429 MB / 0.5638 GB, free: 10.64 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.001699/0.3233, allocations: 0.6224 MB / 0.5644 GB, free: 10.03 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001582/0.3249, allocations: 1.389 MB / 0.5658 GB, free: 8.629 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004751/0.3254, allocations: 275.4 kB / 0.566 GB, free: 8.352 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007362/0.3261, allocations: 0.5287 MB / 0.5666 GB, free: 7.82 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007167/0.3268, allocations: 0.6569 MB / 0.5672 GB, free: 7.16 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001408/0.327, allocations: 52 kB / 0.5672 GB, free: 7.109 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000536/0.3275, allocations: 183.9 kB / 0.5674 GB, free: 6.93 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002112/0.3278, allocations: 230.8 kB / 0.5676 GB, free: 6.703 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004445/0.3282, allocations: 0.5472 MB / 0.5682 GB, free: 6.152 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.3293, allocations: 1.133 MB / 0.5693 GB, free: 5.016 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3293, allocations: 0 / 0.5693 GB, free: 5.016 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3294, allocations: 0 / 0.5693 GB, free: 5.016 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.698e-05/0.3294, allocations: 0 / 0.5693 GB, free: 5.016 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.01001/0.3394, allocations: 2.315 MB / 0.5715 GB, free: 2.648 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.3395, allocations: 8.031 kB / 0.5716 GB, free: 2.641 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007471/0.347, allocations: 0.771 MB / 0.5723 GB, free: 1.867 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002152/0.3491, allocations: 0.8148 MB / 0.5731 GB, free: 0.9961 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003457/0.3495, allocations: 256.2 kB / 0.5733 GB, free: 0.707 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003205/0.3499, allocations: 72 kB / 0.5734 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003388/0.3533, allocations: 1.126 MB / 0.5745 GB, free: 15.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.3533, allocations: 3.938 kB / 0.5745 GB, free: 15.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001357/0.3535, allocations: 32 kB / 0.5745 GB, free: 15.46 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.292e-05/0.3535, allocations: 16 kB / 0.5746 GB, free: 15.45 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003451/0.357, allocations: 1.074 MB / 0.5756 GB, free: 14.38 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.00856/0.3655, allocations: 3.462 MB / 0.579 GB, free: 10.76 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003666/0.3693, allocations: 1.438 MB / 0.5804 GB, free: 9.211 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002329/0.3716, allocations: 0.75 MB / 0.5811 GB, free: 8.453 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001505/0.3718, allocations: 16.97 kB / 0.5811 GB, free: 8.438 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.837e-05/0.3719, allocations: 43.56 kB / 0.5812 GB, free: 8.383 MB / 394.7 MB Notification: Performance of pre-optimization done (n=90): time 5.08e-06/0.3719, allocations: 0 / 0.5812 GB, free: 8.383 MB / 394.7 MB Notification: Performance of matching and sorting (n=90): time 0.035/0.4069, allocations: 6.496 MB / 0.5875 GB, free: 1.855 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.99e-05/0.407, allocations: 86.11 kB / 0.5876 GB, free: 1.754 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001945/0.409, allocations: 0.9455 MB / 0.5885 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002688/0.4093, allocations: 41.7 kB / 0.5886 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004724/0.4097, allocations: 484.5 kB / 0.589 GB, free: 268 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000454/0.4102, allocations: 319.5 kB / 0.5893 GB, free: 15.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002205/0.4104, allocations: 105.7 kB / 0.5894 GB, free: 15.83 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.4106, allocations: 349.9 kB / 0.5898 GB, free: 15.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002221/0.4128, allocations: 0.6975 MB / 0.5905 GB, free: 14.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002466/0.4153, allocations: 0.8423 MB / 0.5913 GB, free: 13.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02501/0.4404, allocations: 4.725 MB / 0.5959 GB, free: 9.156 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/0.4404, allocations: 0 / 0.5959 GB, free: 9.156 MB / 410.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.01872/0.4591, allocations: 4.222 MB / 0.6 GB, free: 4.918 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001526/0.4593, allocations: 149.1 kB / 0.6002 GB, free: 4.742 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.4594, allocations: 8 kB / 0.6002 GB, free: 4.734 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008266/0.4676, allocations: 1.71 MB / 0.6018 GB, free: 3.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00147/0.4692, allocations: 207.7 kB / 0.602 GB, free: 2.816 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02597/0.4952, allocations: 8.328 MB / 0.6102 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001796/0.497, allocations: 182.8 kB / 0.6103 GB, free: 10.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.4971, allocations: 36 kB / 0.6104 GB, free: 10.13 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.4972, allocations: 4 kB / 0.6104 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01324/0.5104, allocations: 4.078 MB / 0.6144 GB, free: 6.039 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.233e-05/0.5105, allocations: 4 kB / 0.6144 GB, free: 6.035 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00574/0.5162, allocations: 1.71 MB / 0.616 GB, free: 4.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009989/0.5173, allocations: 203.7 kB / 0.6162 GB, free: 4.121 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01901/0.5363, allocations: 8.332 MB / 0.6244 GB, free: 11.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001466/0.5378, allocations: 163.1 kB / 0.6245 GB, free: 11.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.782e-05/0.5379, allocations: 43.98 kB / 0.6246 GB, free: 11.44 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.0005949/0.5385, allocations: 324.9 kB / 0.6249 GB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002246/0.5387, allocations: 122.4 kB / 0.625 GB, free: 10.99 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01272/0.5515, allocations: 3.936 MB / 0.6288 GB, free: 7.043 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.361e-05/0.5515, allocations: 8 kB / 0.6288 GB, free: 7.035 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.5516, allocations: 0 / 0.6288 GB, free: 7.035 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-05/0.5516, allocations: 7.984 kB / 0.6289 GB, free: 7.027 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01476/0.5664, allocations: 5.559 MB / 0.6343 GB, free: 1.328 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/0.5664, allocations: 0 / 0.6343 GB, free: 1.328 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006435/0.5671, allocations: 107.8 kB / 0.6344 GB, free: 1.223 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005743/0.5728, allocations: 1.741 MB / 0.6361 GB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001426/0.573, allocations: 20 kB / 0.6361 GB, free: 15.46 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01657/0.5895, allocations: 7.332 MB / 0.6433 GB, free: 7.98 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.5896, allocations: 11.94 kB / 0.6433 GB, free: 7.969 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01431/0.6039, allocations: 4.853 MB / 0.648 GB, free: 3.09 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000417/0.6044, allocations: 211.4 kB / 0.6482 GB, free: 2.863 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/0.6046, allocations: 16 kB / 0.6482 GB, free: 2.848 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/0.6056, allocations: 111.9 kB / 0.6483 GB, free: 2.738 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006348/0.6062, allocations: 196.6 kB / 0.6485 GB, free: 2.547 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.018e-05/0.6063, allocations: 27.98 kB / 0.6486 GB, free: 2.52 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009275/0.6072, allocations: 0.6391 MB / 0.6492 GB, free: 1.871 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6072, allocations: 0 / 0.6492 GB, free: 1.871 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002072/0.6093, allocations: 0.6983 MB / 0.6499 GB, free: 1.172 MB / 458.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.0003027/0.6096, allocations: 125.7 kB / 0.65 GB, free: 1.039 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01072/0.6204, allocations: 4.055 MB / 0.6539 GB, free: 12.97 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/0.6204, allocations: 4 kB / 0.6539 GB, free: 12.96 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004423/0.6249, allocations: 1.518 MB / 0.6554 GB, free: 11.43 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.626, allocations: 100.2 kB / 0.6555 GB, free: 11.33 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004164/0.6301, allocations: 2.558 MB / 0.658 GB, free: 8.742 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006747/0.6308, allocations: 1.113 MB / 0.6591 GB, free: 7.598 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003124/0.6312, allocations: 63.44 kB / 0.6592 GB, free: 7.539 MB / 474.7 MB Notification: Performance of SimCode: time 4.81e-07/0.6312, allocations: 3.938 kB / 0.6592 GB, free: 7.535 MB / 474.7 MB Notification: Performance of Templates: time 0.02942/0.6606, allocations: 20.87 MB / 0.6795 GB, free: 2.656 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)