Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.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.Controls.PSAT.TG.TGTypeII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008775/0.0008775, allocations: 89.66 kB / 15.36 MB, free: 0.7383 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.391/1.391, allocations: 223.3 MB / 239.4 MB, free: 5.508 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.001317/0.001316, allocations: 187.5 kB / 290.6 MB, free: 2.172 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4929/0.4929, allocations: 78.55 MB / 420.3 MB, free: 4.188 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00043/0.0004297, allocations: 16 kB / 0.4887 GB, free: 6.004 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1547, allocations: 69.36 MB / 0.5564 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.2824/0.4371, allocations: 6.181 MB / 0.5624 GB, free: 36.03 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004868/0.442, allocations: 1.972 MB / 0.5644 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001085/0.4432, allocations: 18.03 kB / 0.5644 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008291/0.444, allocations: 177.1 kB / 0.5646 GB, free: 35.16 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00216/0.4462, allocations: 0.6376 MB / 0.5652 GB, free: 34.87 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001554/0.4477, allocations: 0.6105 MB / 0.5658 GB, free: 34.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001601/0.4494, allocations: 1.381 MB / 0.5671 GB, free: 34.45 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005223/0.4499, allocations: 282.7 kB / 0.5674 GB, free: 34.4 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007116/0.4506, allocations: 0.5331 MB / 0.5679 GB, free: 34.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006491/0.4513, allocations: 0.659 MB / 0.5686 GB, free: 34.04 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.4514, allocations: 53.16 kB / 0.5686 GB, free: 34.04 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004387/0.4518, allocations: 190.3 kB / 0.5688 GB, free: 34.03 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000218/0.4521, allocations: 227.3 kB / 0.569 GB, free: 33.96 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004459/0.4525, allocations: 0.5763 MB / 0.5696 GB, free: 33.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.4538, allocations: 1.451 MB / 0.571 GB, free: 33.33 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.4538, allocations: 1.469 kB / 0.571 GB, free: 33.33 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.788e-06/0.4538, allocations: 2.344 kB / 0.571 GB, free: 33.33 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.464e-05/0.4538, allocations: 0 / 0.571 GB, free: 33.33 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.007292/0.4611, allocations: 2.382 MB / 0.5733 GB, free: 32.49 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.4612, allocations: 13.38 kB / 0.5733 GB, free: 32.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004843/0.466, allocations: 0.7832 MB / 0.5741 GB, free: 32.39 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/0.4675, allocations: 0.8117 MB / 0.5749 GB, free: 31.99 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002046/0.4677, allocations: 226.5 kB / 0.5751 GB, free: 31.83 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/0.4679, allocations: 83.86 kB / 0.5752 GB, free: 31.82 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002265/0.4701, allocations: 1.203 MB / 0.5764 GB, free: 31.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.4702, allocations: 6 kB / 0.5764 GB, free: 31.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-05/0.4703, allocations: 31.78 kB / 0.5764 GB, free: 31.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/0.4703, allocations: 18.38 kB / 0.5764 GB, free: 31.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002155/0.4725, allocations: 1.171 MB / 0.5776 GB, free: 31.7 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.005347/0.4778, allocations: 3.208 MB / 0.5807 GB, free: 30.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003016/0.4808, allocations: 1.749 MB / 0.5824 GB, free: 29.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00141/0.4823, allocations: 0.84 MB / 0.5832 GB, free: 29.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.268e-05/0.4824, allocations: 20.72 kB / 0.5832 GB, free: 29.64 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.4824, allocations: 43.12 kB / 0.5833 GB, free: 29.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=93): time 3.386e-06/0.4824, allocations: 0 / 0.5833 GB, free: 29.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=93): time 0.03065/0.5131, allocations: 8.771 MB / 0.5918 GB, free: 28.1 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.525e-05/0.5132, allocations: 91.73 kB / 0.5919 GB, free: 28 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001982/0.5152, allocations: 0.9556 MB / 0.5929 GB, free: 27.6 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002993/0.5155, allocations: 40.7 kB / 0.5929 GB, free: 27.56 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004153/0.5159, allocations: 494.3 kB / 0.5934 GB, free: 27.17 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004099/0.5164, allocations: 329.6 kB / 0.5937 GB, free: 26.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002298/0.5166, allocations: 107.7 kB / 0.5938 GB, free: 26.85 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.5167, allocations: 349.8 kB / 0.5941 GB, free: 26.53 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001788/0.5185, allocations: 0.7738 MB / 0.5949 GB, free: 26.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001781/0.5203, allocations: 0.9101 MB / 0.5958 GB, free: 25.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01993/0.5403, allocations: 5.226 MB / 0.6009 GB, free: 24.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/0.5403, allocations: 3.469 kB / 0.6009 GB, free: 24.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01695/0.5573, allocations: 5.365 MB / 0.6061 GB, free: 23.32 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.5574, allocations: 154.1 kB / 0.6063 GB, free: 23.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.5574, allocations: 2.438 kB / 0.6063 GB, free: 23.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007688/0.5651, allocations: 2.23 MB / 0.6084 GB, free: 22.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.5662, allocations: 177.1 kB / 0.6086 GB, free: 22.76 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02341/0.5896, allocations: 10.28 MB / 0.6186 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/0.5914, allocations: 211 kB / 0.6188 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000202/0.5916, allocations: 49.61 kB / 0.6189 GB, free: 13.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.5917, allocations: 4 kB / 0.6189 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01435/0.606, allocations: 5.21 MB / 0.624 GB, free: 8.297 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.6061, allocations: 0 / 0.624 GB, free: 8.297 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006534/0.6126, allocations: 2.219 MB / 0.6262 GB, free: 6.074 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009352/0.6136, allocations: 175.7 kB / 0.6263 GB, free: 5.902 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02277/0.6364, allocations: 10.25 MB / 0.6363 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001823/0.6383, allocations: 203.8 kB / 0.6365 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002359/0.6385, allocations: 39.92 kB / 0.6366 GB, free: 11.29 MB / 446.1 MB Warning: Assuming fixed start value for the following 1 variables: tGtypeII.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 (107): * Single equations (assignments): 106 * 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.0007506/0.6393, allocations: 317.5 kB / 0.6369 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000344/0.6396, allocations: 114.6 kB / 0.637 GB, free: 10.85 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01563/0.6553, allocations: 5.039 MB / 0.6419 GB, free: 5.801 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/0.6553, allocations: 8 kB / 0.6419 GB, free: 5.793 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.6554, allocations: 5.031 kB / 0.6419 GB, free: 5.789 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.89e-05/0.6554, allocations: 7.922 kB / 0.6419 GB, free: 5.781 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01834/0.6737, allocations: 6.686 MB / 0.6484 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/0.6738, allocations: 0 / 0.6484 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006141/0.6744, allocations: 91.89 kB / 0.6485 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006939/0.6814, allocations: 2.159 MB / 0.6506 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002197/0.6816, allocations: 19.94 kB / 0.6507 GB, free: 12.69 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02132/0.703, allocations: 8.83 MB / 0.6593 GB, free: 3.719 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.703, allocations: 3.938 kB / 0.6593 GB, free: 3.715 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0177/0.7207, allocations: 6.044 MB / 0.6652 GB, free: 13.65 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006651/0.7214, allocations: 207.5 kB / 0.6654 GB, free: 13.43 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004852/0.7219, allocations: 18.09 kB / 0.6654 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001438/0.7234, allocations: 143.9 kB / 0.6655 GB, free: 13.27 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007431/0.7242, allocations: 196.7 kB / 0.6657 GB, free: 13.08 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/0.7243, allocations: 21.12 kB / 0.6657 GB, free: 13.06 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001653/0.726, allocations: 0.6547 MB / 0.6664 GB, free: 12.39 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.726, allocations: 0 / 0.6664 GB, free: 12.39 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003275/0.7293, allocations: 0.7062 MB / 0.6671 GB, free: 11.69 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (gen.delta,gen.w,gen.e1q,tGtypeII.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 (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.0003983/0.7297, allocations: 131.1 kB / 0.6672 GB, free: 11.55 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01343/0.7431, allocations: 4.712 MB / 0.6718 GB, free: 6.824 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.7432, allocations: 0 / 0.6718 GB, free: 6.824 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005568/0.7488, allocations: 1.772 MB / 0.6735 GB, free: 5.039 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/0.7504, allocations: 100.9 kB / 0.6736 GB, free: 4.941 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005355/0.7558, allocations: 2.583 MB / 0.6762 GB, free: 2.359 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009632/0.7568, allocations: 1.117 MB / 0.6772 GB, free: 1.215 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006569/0.7575, allocations: 115 kB / 0.6774 GB, free: 1.102 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002651/0.7577, allocations: 59.44 kB / 0.6774 GB, free: 1.047 MB / 478.1 MB Notification: Performance of SimCode: time 1.663e-06/0.7578, allocations: 0 / 0.6774 GB, free: 1.047 MB / 478.1 MB Notification: Performance of Templates: time 0.05378/0.8115, allocations: 29.63 MB / 0.7063 GB, free: 3.562 MB / 0.4981 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1) Environment - environmentSimulation: