Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1128/0.1128, allocations: 12.6 MB / 28.1 MB, free: 184 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 107.5 kB / 31.7 MB, free: 3.492 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.1 MB / 240.3 MB, free: 12.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 184.5 kB / 290.5 MB, free: 13.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4626/0.4626, allocations: 78.5 MB / 419.1 MB, free: 11.34 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003017/0.003017, allocations: 139.8 kB / 499.8 MB, free: 10.82 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4397/0.4428, allocations: 68.1 MB / 0.5546 GB, free: 32.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.008718/0.4516, allocations: 6.081 MB / 0.5605 GB, free: 28.19 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004447/0.4561, allocations: 1.767 MB / 0.5622 GB, free: 26.85 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004836/0.4566, allocations: 13.59 kB / 0.5622 GB, free: 26.85 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005655/0.4571, allocations: 210.6 kB / 0.5624 GB, free: 26.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001628/0.4588, allocations: 0.702 MB / 0.5631 GB, free: 26.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.4601, allocations: 0.5774 MB / 0.5637 GB, free: 25.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001532/0.4616, allocations: 1.321 MB / 0.565 GB, free: 24.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005269/0.4621, allocations: 298.3 kB / 0.5653 GB, free: 24.72 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000772/0.4629, allocations: 0.5515 MB / 0.5658 GB, free: 24.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008617/0.4638, allocations: 0.6953 MB / 0.5665 GB, free: 23.9 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002092/0.464, allocations: 97.75 kB / 0.5666 GB, free: 23.9 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005396/0.4646, allocations: 234.9 kB / 0.5668 GB, free: 23.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002091/0.4648, allocations: 265.6 kB / 0.5671 GB, free: 23.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004506/0.4652, allocations: 0.5815 MB / 0.5676 GB, free: 23.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001333/0.4666, allocations: 1.423 MB / 0.569 GB, free: 22.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.4666, allocations: 4 kB / 0.569 GB, free: 22.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4666, allocations: 0 / 0.569 GB, free: 22.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.315e-05/0.4666, allocations: 0 / 0.569 GB, free: 22.11 MB / 398.1 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.00799/0.4746, allocations: 2.451 MB / 0.5714 GB, free: 20.6 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.172e-05/0.4747, allocations: 17.03 kB / 0.5714 GB, free: 20.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004906/0.4796, allocations: 0.7591 MB / 0.5722 GB, free: 20.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.4807, allocations: 0.7398 MB / 0.5729 GB, free: 19.66 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002735/0.481, allocations: 246.4 kB / 0.5731 GB, free: 19.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001571/0.4811, allocations: 79.97 kB / 0.5732 GB, free: 19.4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002181/0.4833, allocations: 1.082 MB / 0.5743 GB, free: 18.78 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.4834, allocations: 0 / 0.5743 GB, free: 18.78 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.175e-05/0.4835, allocations: 25.94 kB / 0.5743 GB, free: 18.76 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.153e-05/0.4835, allocations: 17.19 kB / 0.5743 GB, free: 18.76 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002274/0.4858, allocations: 1.042 MB / 0.5753 GB, free: 18.11 MB / 398.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.004672/0.4905, allocations: 3.068 MB / 0.5783 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002802/0.4933, allocations: 1.571 MB / 0.5798 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001252/0.4945, allocations: 0.7502 MB / 0.5806 GB, free: 12.47 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-05/0.4946, allocations: 16.98 kB / 0.5806 GB, free: 12.45 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.4947, allocations: 39.56 kB / 0.5806 GB, free: 12.4 MB / 398.1 MB Notification: Performance of pre-optimization done (n=92): time 2.114e-06/0.4947, allocations: 0 / 0.5806 GB, free: 12.4 MB / 398.1 MB Notification: Performance of matching and sorting (n=92): time 0.02758/0.5223, allocations: 7.484 MB / 0.5879 GB, free: 4.887 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.5224, allocations: 68.34 kB / 0.588 GB, free: 4.809 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.5235, allocations: 0.8435 MB / 0.5888 GB, free: 3.941 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001071/0.5236, allocations: 41.7 kB / 0.5889 GB, free: 3.895 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002894/0.5239, allocations: 448.5 kB / 0.5893 GB, free: 3.449 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003062/0.5242, allocations: 335.1 kB / 0.5896 GB, free: 3.117 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003479/0.5245, allocations: 198.8 kB / 0.5898 GB, free: 2.914 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.875e-05/0.5246, allocations: 361.9 kB / 0.5902 GB, free: 2.555 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001306/0.5259, allocations: 0.6858 MB / 0.5908 GB, free: 1.871 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001359/0.5273, allocations: 0.8103 MB / 0.5916 GB, free: 1.031 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002794/0.5301, allocations: 1.505 MB / 0.5931 GB, free: 15.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.555e-06/0.5301, allocations: 4 kB / 0.5931 GB, free: 15.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01466/0.5448, allocations: 4.354 MB / 0.5973 GB, free: 11.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.5449, allocations: 8 kB / 0.5973 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.5449, allocations: 4 kB / 0.5974 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006751/0.5516, allocations: 1.897 MB / 0.5992 GB, free: 9.211 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/0.5527, allocations: 171.8 kB / 0.5994 GB, free: 9.043 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02531/0.578, allocations: 9.963 MB / 0.6091 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002109/0.5802, allocations: 159 kB / 0.6092 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002474/0.5805, allocations: 47.92 kB / 0.6093 GB, free: 14.72 MB / 430.1 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.0006495/0.5811, allocations: 225.7 kB / 0.6095 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000527/0.5817, allocations: 118.5 kB / 0.6096 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01411/0.5958, allocations: 4.045 MB / 0.6136 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.93e-05/0.5958, allocations: 8 kB / 0.6136 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5958, allocations: 0 / 0.6136 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-05/0.5959, allocations: 11.97 kB / 0.6136 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0174/0.6133, allocations: 5.632 MB / 0.6191 GB, free: 4.523 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.39e-05/0.6134, allocations: 4 kB / 0.6191 GB, free: 4.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007154/0.6141, allocations: 91.89 kB / 0.6192 GB, free: 4.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006264/0.6204, allocations: 1.835 MB / 0.621 GB, free: 2.59 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001571/0.6206, allocations: 20 kB / 0.621 GB, free: 2.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02249/0.6431, allocations: 8.646 MB / 0.6294 GB, free: 9.777 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.6431, allocations: 0 / 0.6294 GB, free: 9.777 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01664/0.6598, allocations: 4.969 MB / 0.6343 GB, free: 4.785 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006793/0.6605, allocations: 195.6 kB / 0.6345 GB, free: 4.574 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004756/0.661, allocations: 16 kB / 0.6345 GB, free: 4.559 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001406/0.6624, allocations: 91.89 kB / 0.6346 GB, free: 4.469 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00078/0.6632, allocations: 200.7 kB / 0.6348 GB, free: 4.273 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/0.6634, allocations: 24 kB / 0.6348 GB, free: 4.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009953/0.6644, allocations: 0.5667 MB / 0.6353 GB, free: 3.672 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6644, allocations: 4 kB / 0.6353 GB, free: 3.668 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001875/0.6663, allocations: 435.5 kB / 0.6358 GB, free: 3.242 MB / 446.1 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.0003159/0.6666, allocations: 123.2 kB / 0.6359 GB, free: 3.109 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007749/0.6743, allocations: 2.475 MB / 0.6383 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.6744, allocations: 0 / 0.6383 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005385/0.6798, allocations: 1.578 MB / 0.6398 GB, free: 15.03 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/0.6813, allocations: 91.36 kB / 0.6399 GB, free: 14.94 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004629/0.686, allocations: 1.994 MB / 0.6419 GB, free: 12.93 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009008/0.6869, allocations: 1.061 MB / 0.6429 GB, free: 11.84 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004139/0.6873, allocations: 78.78 kB / 0.643 GB, free: 11.76 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002236/0.6875, allocations: 63.42 kB / 0.643 GB, free: 11.7 MB / 462.1 MB Notification: Performance of SimCode: time 1.252e-06/0.6876, allocations: 0 / 0.643 GB, free: 11.7 MB / 462.1 MB Notification: Performance of Templates: time 0.04758/0.7351, allocations: 24.17 MB / 0.6666 GB, free: 3.531 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)