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.006078/0.006078, allocations: 169 kB / 15.13 MB, free: 6.023 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.349/1.349, allocations: 223.3 MB / 239.1 MB, free: 1.699 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007936/0.0007935, allocations: 94.36 kB / 290.3 MB, free: 13.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4472/0.4472, allocations: 78.61 MB / 420 MB, free: 44.14 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003719/0.0003719, allocations: 15.98 kB / 499.9 MB, free: 2.918 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3443, allocations: 69.35 MB / 0.5559 GB, free: 38.83 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG): time 0.005737/0.3501, allocations: 5.868 MB / 0.5616 GB, free: 37.67 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004067/0.3542, allocations: 1.875 MB / 0.5635 GB, free: 36.34 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009469/0.3552, allocations: 20.5 kB / 0.5635 GB, free: 36.34 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006202/0.3558, allocations: 161.4 kB / 0.5636 GB, free: 36.27 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001635/0.3575, allocations: 0.5997 MB / 0.5642 GB, free: 35.87 MB / 426.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.001294/0.3588, allocations: 0.5511 MB / 0.5648 GB, free: 35.59 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001419/0.3602, allocations: 1.318 MB / 0.566 GB, free: 34.92 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004076/0.3606, allocations: 256.5 kB / 0.5663 GB, free: 34.8 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007859/0.3614, allocations: 0.5098 MB / 0.5668 GB, free: 34.59 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000646/0.3621, allocations: 0.6397 MB / 0.5674 GB, free: 34.3 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001278/0.3622, allocations: 52.09 kB / 0.5675 GB, free: 34.3 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004616/0.3627, allocations: 179.4 kB / 0.5676 GB, free: 34.26 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000162/0.3629, allocations: 220.5 kB / 0.5678 GB, free: 34.14 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001894/0.3631, allocations: 217.3 kB / 0.568 GB, free: 34 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008503/0.3639, allocations: 1.139 MB / 0.5692 GB, free: 33.64 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.3639, allocations: 0 / 0.5692 GB, free: 33.64 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.3639, allocations: 0 / 0.5692 GB, free: 33.64 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.797e-05/0.364, allocations: 2.594 kB / 0.5692 GB, free: 33.64 MB / 426.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.007259/0.3712, allocations: 2.367 MB / 0.5715 GB, free: 32.62 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.3713, allocations: 11.16 kB / 0.5715 GB, free: 32.62 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004805/0.3761, allocations: 0.7821 MB / 0.5723 GB, free: 32.47 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.3774, allocations: 0.7751 MB / 0.573 GB, free: 31.95 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002303/0.3776, allocations: 263.2 kB / 0.5733 GB, free: 31.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.3778, allocations: 80.67 kB / 0.5733 GB, free: 31.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0021/0.3799, allocations: 1.193 MB / 0.5745 GB, free: 31.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/0.3799, allocations: 2.875 kB / 0.5745 GB, free: 31.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.38, allocations: 33.67 kB / 0.5745 GB, free: 31.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.842e-05/0.38, allocations: 17.88 kB / 0.5746 GB, free: 31.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002528/0.3826, allocations: 1.166 MB / 0.5757 GB, free: 30.89 MB / 426.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.005839/0.3884, allocations: 3.529 MB / 0.5791 GB, free: 28.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002006/0.3905, allocations: 1.522 MB / 0.5806 GB, free: 27.95 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001361/0.3918, allocations: 0.8256 MB / 0.5814 GB, free: 27.65 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.719e-05/0.3919, allocations: 14.83 kB / 0.5814 GB, free: 27.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.392, allocations: 46 kB / 0.5815 GB, free: 27.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=90): time 3.226e-06/0.392, allocations: 0 / 0.5815 GB, free: 27.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=90): time 0.02652/0.4185, allocations: 8.057 MB / 0.5894 GB, free: 26.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.4186, allocations: 87.08 kB / 0.5894 GB, free: 26.08 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00143/0.42, allocations: 0.9254 MB / 0.5903 GB, free: 25.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001943/0.4202, allocations: 40.95 kB / 0.5904 GB, free: 25.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002826/0.4205, allocations: 485.3 kB / 0.5908 GB, free: 25.28 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003069/0.4208, allocations: 327.5 kB / 0.5912 GB, free: 25.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.846e-05/0.4209, allocations: 20.16 kB / 0.5912 GB, free: 25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.174e-05/0.421, allocations: 353.6 kB / 0.5915 GB, free: 24.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001639/0.4226, allocations: 0.7703 MB / 0.5923 GB, free: 24.42 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00165/0.4243, allocations: 0.9112 MB / 0.5932 GB, free: 24.04 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001709/0.426, allocations: 0.833 MB / 0.594 GB, free: 23.71 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.426, allocations: 1.375 kB / 0.594 GB, free: 23.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.01509/0.4411, allocations: 5.132 MB / 0.599 GB, free: 22.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.604e-05/0.4412, allocations: 150.9 kB / 0.5991 GB, free: 22.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.4413, allocations: 2.375 kB / 0.5991 GB, free: 22.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007031/0.4483, allocations: 2.107 MB / 0.6012 GB, free: 22.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/0.4495, allocations: 202 kB / 0.6014 GB, free: 22.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02165/0.4712, allocations: 9.524 MB / 0.6107 GB, free: 17.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00169/0.4729, allocations: 221.3 kB / 0.6109 GB, free: 17.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/0.4731, allocations: 35.47 kB / 0.6109 GB, free: 17.01 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.4731, allocations: 4.938 kB / 0.6109 GB, free: 17 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01396/0.4871, allocations: 4.978 MB / 0.6158 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-05/0.4872, allocations: 0 / 0.6158 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00616/0.4933, allocations: 2.104 MB / 0.6178 GB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009668/0.4943, allocations: 195.7 kB / 0.618 GB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01943/0.5138, allocations: 9.497 MB / 0.6273 GB, free: 0.5781 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/0.5155, allocations: 203.1 kB / 0.6275 GB, free: 388 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002023/0.5157, allocations: 39.98 kB / 0.6275 GB, free: 348 kB / 426.7 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "d-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 (109): * Single equations (assignments): 108 * 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 {24 13} Notification: Performance of prepare postOptimizeDAE: time 0.0006741/0.5164, allocations: 317.6 kB / 0.6278 GB, free: 20 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004548/0.5168, allocations: 118.5 kB / 0.628 GB, free: 15.9 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01483/0.5317, allocations: 4.852 MB / 0.6327 GB, free: 11.04 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/0.5317, allocations: 19.94 kB / 0.6327 GB, free: 11.02 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.5317, allocations: 0 / 0.6327 GB, free: 11.02 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.588e-05/0.5318, allocations: 7.938 kB / 0.6327 GB, free: 11.01 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01728/0.5491, allocations: 6.458 MB / 0.639 GB, free: 4.414 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.31e-05/0.5491, allocations: 0 / 0.639 GB, free: 4.414 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007166/0.5498, allocations: 119.8 kB / 0.6391 GB, free: 4.297 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006607/0.5565, allocations: 2.046 MB / 0.6411 GB, free: 2.246 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002026/0.5567, allocations: 19.98 kB / 0.6412 GB, free: 2.227 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0195/0.5762, allocations: 8.202 MB / 0.6492 GB, free: 9.879 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.5763, allocations: 4 kB / 0.6492 GB, free: 9.875 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0167/0.593, allocations: 5.853 MB / 0.6549 GB, free: 4 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004163/0.5934, allocations: 211.4 kB / 0.6551 GB, free: 3.773 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002709/0.5937, allocations: 16 kB / 0.6551 GB, free: 3.758 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/0.5949, allocations: 151.9 kB / 0.6552 GB, free: 3.609 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005844/0.5955, allocations: 200.6 kB / 0.6554 GB, free: 3.414 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.791e-05/0.5956, allocations: 27.94 kB / 0.6555 GB, free: 3.387 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009959/0.5966, allocations: 0.6313 MB / 0.6561 GB, free: 2.746 MB / 458.7 MB Notification: Performance of sort global known variables: time 3e-07/0.5967, allocations: 4 kB / 0.6561 GB, free: 2.742 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002198/0.5989, allocations: 0.7022 MB / 0.6568 GB, free: 2.039 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 (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.0002688/0.5991, allocations: 127.2 kB / 0.6569 GB, free: 1.906 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01274/0.6119, allocations: 4.619 MB / 0.6614 GB, free: 13.27 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.6119, allocations: 0 / 0.6614 GB, free: 13.27 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005148/0.6171, allocations: 1.752 MB / 0.6631 GB, free: 11.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001381/0.6185, allocations: 98.55 kB / 0.6632 GB, free: 11.41 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004555/0.6231, allocations: 2.497 MB / 0.6656 GB, free: 8.883 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000776/0.6239, allocations: 1.12 MB / 0.6667 GB, free: 7.73 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005785/0.6245, allocations: 114.9 kB / 0.6669 GB, free: 7.613 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002245/0.6247, allocations: 63.44 kB / 0.6669 GB, free: 7.551 MB / 474.7 MB Notification: Performance of SimCode: time 1.183e-06/0.6247, allocations: 0 / 0.6669 GB, free: 7.551 MB / 474.7 MB Notification: Performance of Templates: time 0.04041/0.6652, allocations: 27.25 MB / 0.6935 GB, free: 12.32 MB / 0.4948 GB 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)