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.001493/0.001493, allocations: 110.2 kB / 16.41 MB, free: 6.488 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.431/1.431, allocations: 222.9 MB / 240.1 MB, free: 4.379 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.001506/0.001506, allocations: 188.5 kB / 290.4 MB, free: 2.105 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4803/0.4803, allocations: 78.54 MB / 419.1 MB, free: 3.156 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 83.88 kB / 0.5543 GB, free: 0.957 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3259, allocations: 68.17 MB / 0.6209 GB, free: 9.598 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.004973/0.3309, allocations: 6.037 MB / 0.6268 GB, free: 4.148 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002841/0.3338, allocations: 1.778 MB / 0.6285 GB, free: 2.367 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003711/0.3342, allocations: 12 kB / 0.6285 GB, free: 2.355 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004125/0.3346, allocations: 210.2 kB / 0.6287 GB, free: 2.148 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001264/0.3359, allocations: 0.7069 MB / 0.6294 GB, free: 1.441 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009492/0.3369, allocations: 0.5883 MB / 0.63 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001056/0.3379, allocations: 1.327 MB / 0.6313 GB, free: 15.53 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004111/0.3384, allocations: 287.3 kB / 0.6315 GB, free: 15.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005876/0.339, allocations: 0.5562 MB / 0.6321 GB, free: 14.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007258/0.3397, allocations: 0.6922 MB / 0.6328 GB, free: 13.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001419/0.3398, allocations: 100 kB / 0.6329 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004188/0.3403, allocations: 239.8 kB / 0.6331 GB, free: 13.65 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002102/0.3405, allocations: 262.8 kB / 0.6333 GB, free: 13.39 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000459/0.341, allocations: 0.5748 MB / 0.6339 GB, free: 12.81 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001335/0.3423, allocations: 1.442 MB / 0.6353 GB, free: 11.37 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3423, allocations: 0 / 0.6353 GB, free: 11.37 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3423, allocations: 0 / 0.6353 GB, free: 11.37 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.3423, allocations: 0 / 0.6353 GB, free: 11.37 MB / 446.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.007681/0.35, allocations: 2.45 MB / 0.6377 GB, free: 8.867 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.3501, allocations: 8.031 kB / 0.6377 GB, free: 8.859 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005094/0.3552, allocations: 0.7595 MB / 0.6385 GB, free: 8.094 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.3565, allocations: 0.7476 MB / 0.6392 GB, free: 7.301 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002922/0.3568, allocations: 248.2 kB / 0.6394 GB, free: 7.023 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001576/0.3569, allocations: 72 kB / 0.6395 GB, free: 6.953 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002276/0.3592, allocations: 1.086 MB / 0.6405 GB, free: 5.852 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.3593, allocations: 4 kB / 0.6406 GB, free: 5.848 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.3594, allocations: 27.98 kB / 0.6406 GB, free: 5.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/0.3594, allocations: 16 kB / 0.6406 GB, free: 5.805 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00224/0.3616, allocations: 1.035 MB / 0.6416 GB, free: 4.773 MB / 446.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.005077/0.3667, allocations: 3.061 MB / 0.6446 GB, free: 1.578 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003078/0.3698, allocations: 1.581 MB / 0.6461 GB, free: 15.88 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001501/0.3713, allocations: 0.7462 MB / 0.6469 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.145e-05/0.3714, allocations: 16.98 kB / 0.6469 GB, free: 15.11 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.3715, allocations: 47.56 kB / 0.6469 GB, free: 15.05 MB / 462.1 MB Notification: Performance of pre-optimization done (n=92): time 2.725e-06/0.3715, allocations: 0 / 0.6469 GB, free: 15.05 MB / 462.1 MB Notification: Performance of matching and sorting (n=92): time 0.03094/0.4024, allocations: 7.476 MB / 0.6542 GB, free: 7.539 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.4025, allocations: 60.41 kB / 0.6543 GB, free: 7.469 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/0.4038, allocations: 0.8435 MB / 0.6551 GB, free: 6.602 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002237/0.404, allocations: 41.7 kB / 0.6551 GB, free: 6.555 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003612/0.4044, allocations: 452.5 kB / 0.6556 GB, free: 6.105 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003667/0.4048, allocations: 335.3 kB / 0.6559 GB, free: 5.773 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003876/0.4052, allocations: 194.9 kB / 0.6561 GB, free: 5.574 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.4053, allocations: 349.9 kB / 0.6564 GB, free: 5.227 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00157/0.4069, allocations: 0.6975 MB / 0.6571 GB, free: 4.531 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001654/0.4086, allocations: 0.8142 MB / 0.6579 GB, free: 3.688 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00316/0.4117, allocations: 1.493 MB / 0.6594 GB, free: 2.168 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.4117, allocations: 0 / 0.6594 GB, free: 2.168 MB / 462.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01493/0.4267, allocations: 4.363 MB / 0.6636 GB, free: 13.79 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.929e-05/0.4267, allocations: 4 kB / 0.6636 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.4268, allocations: 4 kB / 0.6636 GB, free: 13.78 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007241/0.434, allocations: 1.893 MB / 0.6655 GB, free: 11.88 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009652/0.435, allocations: 171.8 kB / 0.6656 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02548/0.4605, allocations: 9.965 MB / 0.6754 GB, free: 1.602 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/0.4621, allocations: 159 kB / 0.6755 GB, free: 1.445 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001968/0.4624, allocations: 39.98 kB / 0.6756 GB, free: 1.406 MB / 478.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.0005568/0.4629, allocations: 229.7 kB / 0.6758 GB, free: 1.172 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000303/0.4632, allocations: 110.6 kB / 0.6759 GB, free: 1.062 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01408/0.4773, allocations: 4.057 MB / 0.6798 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/0.4774, allocations: 8 kB / 0.6798 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.4774, allocations: 0 / 0.6798 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.018e-05/0.4774, allocations: 3.984 kB / 0.6799 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01617/0.4936, allocations: 5.632 MB / 0.6854 GB, free: 7.211 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-05/0.4937, allocations: 4 kB / 0.6854 GB, free: 7.207 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005728/0.4942, allocations: 87.89 kB / 0.6854 GB, free: 7.121 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006314/0.5006, allocations: 1.839 MB / 0.6872 GB, free: 5.277 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000121/0.5007, allocations: 16 kB / 0.6873 GB, free: 5.262 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02094/0.5216, allocations: 8.631 MB / 0.6957 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.5217, allocations: 0 / 0.6957 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01594/0.5376, allocations: 4.975 MB / 0.7005 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004753/0.5382, allocations: 195.6 kB / 0.7007 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002535/0.5384, allocations: 16 kB / 0.7007 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/0.5395, allocations: 91.89 kB / 0.7008 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006317/0.5402, allocations: 200.7 kB / 0.701 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.251e-05/0.5403, allocations: 28 kB / 0.701 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008237/0.5411, allocations: 0.5667 MB / 0.7016 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5411, allocations: 0 / 0.7016 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001445/0.5426, allocations: 435.6 kB / 0.702 GB, free: 5.941 MB / 0.4981 GB 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.0002943/0.5429, allocations: 123.1 kB / 0.7021 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006874/0.5498, allocations: 2.451 MB / 0.7045 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5498, allocations: 0 / 0.7045 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004837/0.5546, allocations: 1.57 MB / 0.7061 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008704/0.5555, allocations: 87.38 kB / 0.7061 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003901/0.5594, allocations: 2.016 MB / 0.7081 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000679/0.5601, allocations: 1.057 MB / 0.7091 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002826/0.5604, allocations: 67.42 kB / 0.7092 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of SimCode: time 1.092e-06/0.5604, allocations: 3.938 kB / 0.7092 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of Templates: time 0.02704/0.5875, allocations: 18.93 MB / 0.7277 GB, free: 11.51 MB / 0.5294 GB 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)