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.008016/0.008016, allocations: 99.8 kB / 15.73 MB, free: 6.004 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.337/1.337, allocations: 222.9 MB / 239.4 MB, free: 4.527 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.001272/0.001272, allocations: 184.5 kB / 289.7 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4378/0.4378, allocations: 78.52 MB / 418.4 MB, free: 3.184 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 80.09 kB / 0.5536 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3307, allocations: 68.17 MB / 0.6202 GB, free: 9.672 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.005244/0.336, allocations: 6.036 MB / 0.6261 GB, free: 4.152 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002919/0.339, allocations: 1.778 MB / 0.6278 GB, free: 2.371 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004489/0.3395, allocations: 12 kB / 0.6278 GB, free: 2.359 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004335/0.3399, allocations: 214.2 kB / 0.6281 GB, free: 2.148 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00141/0.3414, allocations: 0.6984 MB / 0.6287 GB, free: 1.449 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009926/0.3424, allocations: 0.5668 MB / 0.6293 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001112/0.3435, allocations: 1.339 MB / 0.6306 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004188/0.3439, allocations: 295.3 kB / 0.6309 GB, free: 15.24 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006687/0.3446, allocations: 0.5562 MB / 0.6314 GB, free: 14.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007531/0.3453, allocations: 0.6883 MB / 0.6321 GB, free: 13.99 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000142/0.3455, allocations: 96 kB / 0.6322 GB, free: 13.9 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004625/0.346, allocations: 235.9 kB / 0.6324 GB, free: 13.67 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002144/0.3462, allocations: 262.8 kB / 0.6327 GB, free: 13.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004705/0.3467, allocations: 0.5786 MB / 0.6332 GB, free: 12.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001491/0.3482, allocations: 1.456 MB / 0.6346 GB, free: 11.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3482, allocations: 0 / 0.6346 GB, free: 11.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3482, allocations: 0 / 0.6346 GB, free: 11.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.514e-05/0.3482, allocations: 0 / 0.6346 GB, free: 11.38 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.007677/0.3559, allocations: 2.492 MB / 0.6371 GB, free: 8.828 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.3559, allocations: 8.031 kB / 0.6371 GB, free: 8.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004943/0.3609, allocations: 0.768 MB / 0.6378 GB, free: 8.047 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.362, allocations: 0.7446 MB / 0.6386 GB, free: 7.258 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002546/0.3623, allocations: 256.2 kB / 0.6388 GB, free: 6.973 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.3624, allocations: 75.94 kB / 0.6389 GB, free: 6.898 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002133/0.3646, allocations: 1.09 MB / 0.6399 GB, free: 5.793 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.3646, allocations: 0 / 0.6399 GB, free: 5.793 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.58e-05/0.3647, allocations: 28 kB / 0.64 GB, free: 5.766 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.859e-05/0.3647, allocations: 16 kB / 0.64 GB, free: 5.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002164/0.3669, allocations: 1.038 MB / 0.641 GB, free: 4.715 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.004829/0.3717, allocations: 3.057 MB / 0.644 GB, free: 1.523 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002907/0.3747, allocations: 1.569 MB / 0.6455 GB, free: 15.83 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001441/0.3761, allocations: 0.7528 MB / 0.6463 GB, free: 15.08 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001191/0.3762, allocations: 16.97 kB / 0.6463 GB, free: 15.06 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.3763, allocations: 43.56 kB / 0.6463 GB, free: 15.01 MB / 462.1 MB Notification: Performance of pre-optimization done (n=92): time 2.575e-06/0.3763, allocations: 0 / 0.6463 GB, free: 15.01 MB / 462.1 MB Notification: Performance of matching and sorting (n=92): time 0.02957/0.4059, allocations: 7.481 MB / 0.6536 GB, free: 7.492 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.4059, allocations: 64.41 kB / 0.6537 GB, free: 7.418 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.4071, allocations: 0.8398 MB / 0.6545 GB, free: 6.555 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001598/0.4072, allocations: 41.7 kB / 0.6545 GB, free: 6.508 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003305/0.4076, allocations: 461.1 kB / 0.655 GB, free: 6.051 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003255/0.4079, allocations: 356.9 kB / 0.6553 GB, free: 5.699 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003771/0.4083, allocations: 190.9 kB / 0.6555 GB, free: 5.504 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.4084, allocations: 361.9 kB / 0.6558 GB, free: 5.145 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001491/0.4099, allocations: 0.6897 MB / 0.6565 GB, free: 4.457 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001598/0.4115, allocations: 0.8181 MB / 0.6573 GB, free: 3.609 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00303/0.4146, allocations: 1.493 MB / 0.6588 GB, free: 2.09 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.4146, allocations: 4 kB / 0.6588 GB, free: 2.086 MB / 462.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01413/0.4287, allocations: 4.356 MB / 0.663 GB, free: 13.71 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/0.4288, allocations: 4 kB / 0.663 GB, free: 13.71 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.4288, allocations: 4 kB / 0.663 GB, free: 13.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006757/0.4356, allocations: 1.893 MB / 0.6649 GB, free: 11.81 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009242/0.4365, allocations: 179.7 kB / 0.6651 GB, free: 11.63 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02329/0.4598, allocations: 9.969 MB / 0.6748 GB, free: 1.516 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.4613, allocations: 171.2 kB / 0.675 GB, free: 1.348 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001604/0.4615, allocations: 35.98 kB / 0.675 GB, free: 1.312 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.0005165/0.462, allocations: 229.7 kB / 0.6752 GB, free: 1.078 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000282/0.4623, allocations: 119.2 kB / 0.6753 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01347/0.4758, allocations: 4.049 MB / 0.6793 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/0.4758, allocations: 12 kB / 0.6793 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.4759, allocations: 0 / 0.6793 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.84e-05/0.4759, allocations: 7.922 kB / 0.6793 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0157/0.4916, allocations: 5.633 MB / 0.6848 GB, free: 7.109 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.146e-05/0.4917, allocations: 7.875 kB / 0.6848 GB, free: 7.102 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006439/0.4923, allocations: 91.89 kB / 0.6849 GB, free: 7.012 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006397/0.4987, allocations: 1.835 MB / 0.6867 GB, free: 5.172 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002098/0.499, allocations: 16 kB / 0.6867 GB, free: 5.156 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02115/0.5201, allocations: 8.644 MB / 0.6951 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.5202, allocations: 0 / 0.6951 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01578/0.536, allocations: 4.972 MB / 0.7 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003753/0.5364, allocations: 200.2 kB / 0.7002 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000255/0.5366, allocations: 16 kB / 0.7002 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/0.5378, allocations: 99.83 kB / 0.7003 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006736/0.5385, allocations: 204.6 kB / 0.7005 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.841e-05/0.5386, allocations: 24 kB / 0.7005 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008551/0.5394, allocations: 0.5706 MB / 0.7011 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5394, allocations: 0 / 0.7011 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001406/0.5408, allocations: 443.7 kB / 0.7015 GB, free: 5.805 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.0002795/0.5411, allocations: 115.2 kB / 0.7016 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006877/0.548, allocations: 2.46 MB / 0.704 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5481, allocations: 0 / 0.704 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004819/0.5529, allocations: 1.582 MB / 0.7056 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008577/0.5538, allocations: 87.38 kB / 0.7056 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003747/0.5575, allocations: 2.008 MB / 0.7076 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005888/0.5581, allocations: 1.053 MB / 0.7086 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000329/0.5585, allocations: 86.7 kB / 0.7087 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002203/0.5587, allocations: 63.42 kB / 0.7088 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of SimCode: time 6.31e-07/0.5587, allocations: 0 / 0.7088 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of Templates: time 0.03558/0.5943, allocations: 24.4 MB / 0.7326 GB, free: 5.832 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)