Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_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.TGTypeI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 222.9 MB / 239.2 MB, free: 4.605 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.001623/0.001623, allocations: 192.5 kB / 289.5 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4629/0.4629, allocations: 78.53 MB / 418.2 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001459, allocations: 79.88 kB / 497.4 MB, free: 6.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1265, allocations: 68.18 MB / 0.5524 GB, free: 2.223 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.2176/0.3442, allocations: 6.037 MB / 0.5583 GB, free: 36.72 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00343/0.3476, allocations: 1.779 MB / 0.56 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009085/0.3486, allocations: 17.34 kB / 0.56 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006868/0.3493, allocations: 215.5 kB / 0.5602 GB, free: 36.19 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001993/0.3513, allocations: 0.6868 MB / 0.5609 GB, free: 36.05 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.3526, allocations: 0.5766 MB / 0.5615 GB, free: 35.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001345/0.3539, allocations: 1.326 MB / 0.5627 GB, free: 35.88 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004253/0.3544, allocations: 284.1 kB / 0.563 GB, free: 35.83 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007364/0.3551, allocations: 0.5588 MB / 0.5636 GB, free: 35.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006673/0.3558, allocations: 0.6955 MB / 0.5642 GB, free: 35.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001454/0.3559, allocations: 96.62 kB / 0.5643 GB, free: 35.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000504/0.3565, allocations: 227.8 kB / 0.5646 GB, free: 35.49 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000181/0.3566, allocations: 272.6 kB / 0.5648 GB, free: 35.42 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004614/0.3571, allocations: 0.576 MB / 0.5654 GB, free: 35.2 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001353/0.3585, allocations: 1.429 MB / 0.5668 GB, free: 34.86 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3585, allocations: 2.5 kB / 0.5668 GB, free: 34.86 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3585, allocations: 1.25 kB / 0.5668 GB, free: 34.86 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.618e-05/0.3585, allocations: 0 / 0.5668 GB, free: 34.86 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.007805/0.3663, allocations: 2.45 MB / 0.5692 GB, free: 34.01 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.3664, allocations: 7.812 kB / 0.5692 GB, free: 34.01 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004932/0.3713, allocations: 0.7667 MB / 0.5699 GB, free: 33.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.3724, allocations: 0.736 MB / 0.5706 GB, free: 33.55 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000222/0.3727, allocations: 249.1 kB / 0.5709 GB, free: 33.36 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.3728, allocations: 74.34 kB / 0.5709 GB, free: 33.36 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002034/0.3749, allocations: 1.092 MB / 0.572 GB, free: 33.28 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.3749, allocations: 0.6875 kB / 0.572 GB, free: 33.28 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.246e-05/0.375, allocations: 27.88 kB / 0.572 GB, free: 33.28 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.375, allocations: 25.88 kB / 0.5721 GB, free: 33.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002102/0.3771, allocations: 1.031 MB / 0.5731 GB, free: 33.27 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.004736/0.3819, allocations: 3.071 MB / 0.5761 GB, free: 32.28 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002748/0.3846, allocations: 1.568 MB / 0.5776 GB, free: 31.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001391/0.386, allocations: 0.7536 MB / 0.5783 GB, free: 31.05 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.301e-05/0.3862, allocations: 13.92 kB / 0.5784 GB, free: 31.04 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.3862, allocations: 50.59 kB / 0.5784 GB, free: 30.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 1.6e-05/0.3862, allocations: 0 / 0.5784 GB, free: 30.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.03208/0.4183, allocations: 7.465 MB / 0.5857 GB, free: 29.69 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.4184, allocations: 62.59 kB / 0.5858 GB, free: 29.63 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/0.4196, allocations: 0.84 MB / 0.5866 GB, free: 29.26 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002385/0.4198, allocations: 40.55 kB / 0.5866 GB, free: 29.22 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002771/0.4201, allocations: 458.6 kB / 0.587 GB, free: 28.86 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003293/0.4205, allocations: 332.5 kB / 0.5874 GB, free: 28.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003929/0.4209, allocations: 195.2 kB / 0.5876 GB, free: 28.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.799e-05/0.4209, allocations: 353.8 kB / 0.5879 GB, free: 28.17 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001616/0.4226, allocations: 0.691 MB / 0.5886 GB, free: 27.92 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001703/0.4243, allocations: 0.824 MB / 0.5894 GB, free: 27.56 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003381/0.4277, allocations: 1.498 MB / 0.5908 GB, free: 26.87 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.928e-06/0.4277, allocations: 0 / 0.5908 GB, free: 26.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01558/0.4433, allocations: 4.349 MB / 0.5951 GB, free: 25.83 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/0.4434, allocations: 10.14 kB / 0.5951 GB, free: 25.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.4434, allocations: 2.594 kB / 0.5951 GB, free: 25.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00712/0.4505, allocations: 1.901 MB / 0.5969 GB, free: 25.49 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009951/0.4516, allocations: 178.2 kB / 0.5971 GB, free: 25.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02515/0.4767, allocations: 9.968 MB / 0.6069 GB, free: 20.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/0.4784, allocations: 159.7 kB / 0.607 GB, free: 20.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/0.4785, allocations: 47.41 kB / 0.607 GB, free: 20.75 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.0004175/0.479, allocations: 223 kB / 0.6073 GB, free: 20.57 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002198/0.4792, allocations: 112.9 kB / 0.6074 GB, free: 20.51 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01364/0.4928, allocations: 4.058 MB / 0.6113 GB, free: 18.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-05/0.4929, allocations: 9.406 kB / 0.6113 GB, free: 18.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.4929, allocations: 7.219 kB / 0.6113 GB, free: 18.49 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.877e-05/0.4929, allocations: 7.312 kB / 0.6114 GB, free: 18.49 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01476/0.5077, allocations: 5.633 MB / 0.6169 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/0.5078, allocations: 8 kB / 0.6169 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006126/0.5084, allocations: 83.84 kB / 0.6169 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005966/0.5144, allocations: 1.84 MB / 0.6187 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001862/0.5146, allocations: 20 kB / 0.6188 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01883/0.5334, allocations: 8.641 MB / 0.6272 GB, free: 2.133 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.5335, allocations: 5 kB / 0.6272 GB, free: 2.129 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01539/0.5489, allocations: 4.958 MB / 0.632 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004345/0.5494, allocations: 195.6 kB / 0.6322 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001859/0.5495, allocations: 16 kB / 0.6322 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/0.5506, allocations: 95.89 kB / 0.6323 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000653/0.5513, allocations: 200.7 kB / 0.6325 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.569e-05/0.5513, allocations: 23.98 kB / 0.6326 GB, free: 12.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007811/0.5521, allocations: 0.5667 MB / 0.6331 GB, free: 12.03 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.5521, allocations: 0 / 0.6331 GB, free: 12.03 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001894/0.554, allocations: 435.6 kB / 0.6335 GB, free: 11.61 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.0004295/0.5545, allocations: 139 kB / 0.6337 GB, free: 11.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007665/0.5622, allocations: 2.471 MB / 0.6361 GB, free: 8.988 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.5622, allocations: 0 / 0.6361 GB, free: 8.988 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005059/0.5673, allocations: 1.575 MB / 0.6376 GB, free: 7.395 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009254/0.5682, allocations: 87.38 kB / 0.6377 GB, free: 7.305 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003787/0.572, allocations: 1.997 MB / 0.6396 GB, free: 5.328 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005875/0.5727, allocations: 1.053 MB / 0.6407 GB, free: 4.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003561/0.573, allocations: 93.72 kB / 0.6408 GB, free: 4.156 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001968/0.5732, allocations: 67.42 kB / 0.6408 GB, free: 4.09 MB / 446.1 MB Notification: Performance of SimCode: time 8.01e-07/0.5732, allocations: 0 / 0.6408 GB, free: 4.09 MB / 446.1 MB Notification: Performance of Templates: time 0.03734/0.6106, allocations: 24.16 MB / 0.6644 GB, free: 12.11 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)