Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.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.Controls.PSAT.TG.TGTypeI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008394/0.0008394, allocations: 181.7 kB / 15.45 MB, free: 6.227 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.233/1.233, allocations: 223.3 MB / 239.5 MB, free: 1.598 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.0007879/0.0007877, allocations: 90.64 kB / 290.7 MB, free: 13.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4393/0.4393, allocations: 78.61 MB / 420.4 MB, free: 44.07 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003479/0.000348, allocations: 12 kB / 0.4888 GB, free: 2.555 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3203, allocations: 69.35 MB / 0.5565 GB, free: 39.04 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.004873/0.3252, allocations: 5.919 MB / 0.5623 GB, free: 36.42 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003559/0.3288, allocations: 1.835 MB / 0.5641 GB, free: 35.66 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006816/0.3295, allocations: 14.25 kB / 0.5641 GB, free: 35.65 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000423/0.33, allocations: 164.2 kB / 0.5643 GB, free: 35.6 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001593/0.3316, allocations: 0.6136 MB / 0.5649 GB, free: 35.3 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.3328, allocations: 0.535 MB / 0.5654 GB, free: 35.21 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00151/0.3343, allocations: 1.266 MB / 0.5666 GB, free: 34.88 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003662/0.3347, allocations: 255.2 kB / 0.5669 GB, free: 34.75 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007069/0.3354, allocations: 0.4966 MB / 0.5673 GB, free: 34.52 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005537/0.3359, allocations: 0.6339 MB / 0.568 GB, free: 34.23 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001142/0.3361, allocations: 52.22 kB / 0.568 GB, free: 34.23 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004427/0.3365, allocations: 183 kB / 0.5682 GB, free: 34.19 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001435/0.3367, allocations: 218.7 kB / 0.5684 GB, free: 34.05 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003577/0.337, allocations: 0.5529 MB / 0.5689 GB, free: 33.68 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008847/0.3379, allocations: 1.35 MB / 0.5703 GB, free: 33.16 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.3379, allocations: 3.094 kB / 0.5703 GB, free: 33.16 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.338, allocations: 0 / 0.5703 GB, free: 33.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.338, allocations: 0 / 0.5703 GB, free: 33.16 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.006156/0.3441, allocations: 2.293 MB / 0.5725 GB, free: 32.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.3442, allocations: 12.16 kB / 0.5725 GB, free: 32.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004385/0.3486, allocations: 0.7728 MB / 0.5733 GB, free: 32.03 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009876/0.3496, allocations: 0.7347 MB / 0.574 GB, free: 31.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002069/0.3498, allocations: 261.1 kB / 0.5742 GB, free: 31.29 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.3499, allocations: 71.59 kB / 0.5743 GB, free: 31.27 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001807/0.3517, allocations: 1.164 MB / 0.5754 GB, free: 30.84 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.3518, allocations: 0 / 0.5754 GB, free: 30.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.573e-05/0.3519, allocations: 25.53 kB / 0.5755 GB, free: 30.82 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.3519, allocations: 23.06 kB / 0.5755 GB, free: 30.82 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00192/0.3538, allocations: 1.125 MB / 0.5766 GB, free: 30.47 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.004182/0.358, allocations: 3.13 MB / 0.5796 GB, free: 28.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002436/0.3604, allocations: 1.723 MB / 0.5813 GB, free: 27.72 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001238/0.3617, allocations: 0.8271 MB / 0.5821 GB, free: 27.42 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001028/0.3618, allocations: 15.3 kB / 0.5821 GB, free: 27.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.3618, allocations: 44.62 kB / 0.5822 GB, free: 27.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=92): time 2.264e-06/0.3618, allocations: 0 / 0.5822 GB, free: 27.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=92): time 0.02696/0.3888, allocations: 9.247 MB / 0.5912 GB, free: 25.86 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.3889, allocations: 65.44 kB / 0.5913 GB, free: 25.79 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/0.3902, allocations: 0.8369 MB / 0.5921 GB, free: 25.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001647/0.3904, allocations: 45.83 kB / 0.5921 GB, free: 25.38 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003127/0.3907, allocations: 452.9 kB / 0.5926 GB, free: 25.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003352/0.3911, allocations: 333.1 kB / 0.5929 GB, free: 24.76 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000185/0.3913, allocations: 103.2 kB / 0.593 GB, free: 24.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.035e-05/0.3913, allocations: 348.9 kB / 0.5933 GB, free: 24.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001504/0.3928, allocations: 0.7751 MB / 0.5941 GB, free: 24.12 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001518/0.3944, allocations: 0.8829 MB / 0.5949 GB, free: 23.76 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002843/0.3972, allocations: 1.649 MB / 0.5965 GB, free: 23.05 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.3972, allocations: 3.938 kB / 0.5965 GB, free: 23.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01399/0.4112, allocations: 5.317 MB / 0.6017 GB, free: 21.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.4113, allocations: 6.438 kB / 0.6017 GB, free: 21.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.4113, allocations: 1.922 kB / 0.6017 GB, free: 21.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006714/0.418, allocations: 2.23 MB / 0.6039 GB, free: 21.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008959/0.4189, allocations: 171.8 kB / 0.6041 GB, free: 21.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02128/0.4402, allocations: 10.3 MB / 0.6142 GB, free: 14.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/0.4417, allocations: 191 kB / 0.6143 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/0.4418, allocations: 43.98 kB / 0.6144 GB, free: 14.49 MB / 426.7 MB 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 (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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0004357/0.4423, allocations: 226.9 kB / 0.6146 GB, free: 14.26 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000216/0.4425, allocations: 114.6 kB / 0.6147 GB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01203/0.4545, allocations: 5.01 MB / 0.6196 GB, free: 9.125 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/0.4546, allocations: 8 kB / 0.6196 GB, free: 9.117 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.4546, allocations: 3.938 kB / 0.6196 GB, free: 9.113 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.778e-05/0.4546, allocations: 7.969 kB / 0.6196 GB, free: 9.105 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01369/0.4683, allocations: 6.593 MB / 0.6261 GB, free: 2.371 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.4683, allocations: 0 / 0.6261 GB, free: 2.371 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004702/0.4688, allocations: 91.89 kB / 0.6261 GB, free: 2.281 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005324/0.4742, allocations: 2.163 MB / 0.6283 GB, free: 116 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.203e-05/0.4743, allocations: 16 kB / 0.6283 GB, free: 100 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01862/0.4929, allocations: 8.843 MB / 0.6369 GB, free: 7.117 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.4929, allocations: 7.938 kB / 0.6369 GB, free: 7.109 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01526/0.5082, allocations: 5.985 MB / 0.6428 GB, free: 1.102 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004387/0.5087, allocations: 199.6 kB / 0.6429 GB, free: 0.8867 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002798/0.509, allocations: 16 kB / 0.643 GB, free: 0.8711 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/0.5101, allocations: 131.9 kB / 0.6431 GB, free: 0.7422 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006692/0.5108, allocations: 208.5 kB / 0.6433 GB, free: 0.5391 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.273e-05/0.5109, allocations: 20 kB / 0.6433 GB, free: 0.5195 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007784/0.5116, allocations: 0.5706 MB / 0.6439 GB, free: 15.94 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.5116, allocations: 0 / 0.6439 GB, free: 15.94 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001461/0.5131, allocations: 435.6 kB / 0.6443 GB, free: 15.51 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen.delta,gen.w,gen.e1q,tGTypeI.xg1,tGTypeI.xg2,tGTypeI.xg3) * 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 (55): * Single equations (assignments): 54 * 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,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002728/0.5134, allocations: 131.1 kB / 0.6444 GB, free: 15.38 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006675/0.5201, allocations: 2.707 MB / 0.647 GB, free: 12.67 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.5201, allocations: 0.5 kB / 0.647 GB, free: 12.67 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004383/0.5245, allocations: 1.766 MB / 0.6488 GB, free: 10.88 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007896/0.5253, allocations: 83.44 kB / 0.6488 GB, free: 10.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003331/0.5287, allocations: 2.461 MB / 0.6513 GB, free: 8.32 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005631/0.5292, allocations: 1.057 MB / 0.6523 GB, free: 7.234 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003093/0.5296, allocations: 86.72 kB / 0.6524 GB, free: 7.145 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001842/0.5298, allocations: 59.42 kB / 0.6524 GB, free: 7.086 MB / 458.7 MB Notification: Performance of SimCode: time 5.41e-07/0.5298, allocations: 4 kB / 0.6524 GB, free: 7.082 MB / 458.7 MB Notification: Performance of Templates: time 0.03294/0.5627, allocations: 21.25 MB / 0.6732 GB, free: 1.848 MB / 474.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)