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.001148/0.001148, allocations: 105.1 kB / 15.98 MB, free: 6.352 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.226/1.226, allocations: 222.9 MB / 239.6 MB, free: 4.758 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.001202/0.001202, allocations: 200.4 kB / 289.9 MB, free: 2.488 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4248/0.4248, allocations: 78.53 MB / 418.6 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 75.88 kB / 497.6 MB, free: 6.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1213, allocations: 68.18 MB / 0.5525 GB, free: 2.484 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.2065/0.3279, allocations: 6.366 MB / 0.5587 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003006/0.3309, allocations: 1.823 MB / 0.5605 GB, free: 36.11 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006198/0.3316, allocations: 10.75 kB / 0.5605 GB, free: 36.11 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004822/0.3321, allocations: 171.3 kB / 0.5607 GB, free: 36.1 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00145/0.3335, allocations: 0.6074 MB / 0.5613 GB, free: 35.96 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.3346, allocations: 0.5371 MB / 0.5618 GB, free: 35.89 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001137/0.3357, allocations: 1.322 MB / 0.5631 GB, free: 35.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003426/0.3361, allocations: 299.6 kB / 0.5634 GB, free: 35.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005558/0.3366, allocations: 0.5634 MB / 0.5639 GB, free: 35.64 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005609/0.3372, allocations: 0.6857 MB / 0.5646 GB, free: 35.47 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000123/0.3373, allocations: 101.9 kB / 0.5647 GB, free: 35.47 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003903/0.3377, allocations: 231.2 kB / 0.5649 GB, free: 35.46 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001522/0.3379, allocations: 265.7 kB / 0.5652 GB, free: 35.41 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003567/0.3383, allocations: 0.587 MB / 0.5657 GB, free: 35.2 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008688/0.3391, allocations: 1.098 MB / 0.5668 GB, free: 35.04 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3392, allocations: 0.625 kB / 0.5668 GB, free: 35.04 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3392, allocations: 3.219 kB / 0.5668 GB, free: 35.04 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.876e-05/0.3392, allocations: 0 / 0.5668 GB, free: 35.04 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.006838/0.346, allocations: 2.446 MB / 0.5692 GB, free: 34.19 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.3461, allocations: 8.781 kB / 0.5692 GB, free: 34.19 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004484/0.3506, allocations: 0.7688 MB / 0.57 GB, free: 34.11 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009776/0.3516, allocations: 0.7308 MB / 0.5707 GB, free: 33.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002046/0.3518, allocations: 257.2 kB / 0.5709 GB, free: 33.56 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.3519, allocations: 68.44 kB / 0.571 GB, free: 33.56 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001815/0.3537, allocations: 1.09 MB / 0.5721 GB, free: 33.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.3538, allocations: 0.5 kB / 0.5721 GB, free: 33.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.227e-05/0.3539, allocations: 32.09 kB / 0.5721 GB, free: 33.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.3539, allocations: 20.53 kB / 0.5721 GB, free: 33.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001807/0.3557, allocations: 1.032 MB / 0.5731 GB, free: 33.47 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.004176/0.3599, allocations: 3.069 MB / 0.5761 GB, free: 32.55 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002481/0.3624, allocations: 1.576 MB / 0.5777 GB, free: 31.59 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001198/0.3636, allocations: 0.7507 MB / 0.5784 GB, free: 31.3 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001034/0.3637, allocations: 18.38 kB / 0.5784 GB, free: 31.3 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.3637, allocations: 41.78 kB / 0.5784 GB, free: 31.25 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 2.535e-06/0.3637, allocations: 0 / 0.5784 GB, free: 31.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.02816/0.3919, allocations: 7.479 MB / 0.5857 GB, free: 29.95 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.392, allocations: 60.72 kB / 0.5858 GB, free: 29.89 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.393, allocations: 0.8394 MB / 0.5866 GB, free: 29.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002038/0.3932, allocations: 42.61 kB / 0.5867 GB, free: 29.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000246/0.3935, allocations: 448 kB / 0.5871 GB, free: 29.12 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002869/0.3938, allocations: 333 kB / 0.5874 GB, free: 28.86 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003624/0.3942, allocations: 199.1 kB / 0.5876 GB, free: 28.76 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.382e-05/0.3942, allocations: 353.8 kB / 0.5879 GB, free: 28.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001422/0.3957, allocations: 0.6947 MB / 0.5886 GB, free: 28.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001482/0.3972, allocations: 0.8158 MB / 0.5894 GB, free: 27.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002712/0.3999, allocations: 1.498 MB / 0.5909 GB, free: 27.13 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.3999, allocations: 2.562 kB / 0.5909 GB, free: 27.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01383/0.4137, allocations: 4.352 MB / 0.5951 GB, free: 26.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/0.4138, allocations: 7.469 kB / 0.5951 GB, free: 26.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.4138, allocations: 1.5 kB / 0.5951 GB, free: 26.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006354/0.4202, allocations: 1.903 MB / 0.597 GB, free: 25.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000922/0.4211, allocations: 174.8 kB / 0.5972 GB, free: 25.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02194/0.4431, allocations: 9.975 MB / 0.6069 GB, free: 21.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/0.4446, allocations: 160.6 kB / 0.6071 GB, free: 21.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/0.4447, allocations: 41.47 kB / 0.6071 GB, free: 21.02 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.0003932/0.4451, allocations: 227.1 kB / 0.6073 GB, free: 20.83 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002037/0.4453, allocations: 112.1 kB / 0.6074 GB, free: 20.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01235/0.4577, allocations: 4.057 MB / 0.6114 GB, free: 18.84 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.721e-05/0.4578, allocations: 9.438 kB / 0.6114 GB, free: 18.84 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4578, allocations: 0.5625 kB / 0.6114 GB, free: 18.84 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-05/0.4578, allocations: 5.484 kB / 0.6114 GB, free: 18.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01341/0.4712, allocations: 5.632 MB / 0.6169 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/0.4713, allocations: 4 kB / 0.6169 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005655/0.4718, allocations: 89.45 kB / 0.617 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005206/0.4771, allocations: 1.841 MB / 0.6188 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001795/0.4773, allocations: 16 kB / 0.6188 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01617/0.4934, allocations: 8.648 MB / 0.6272 GB, free: 2.496 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.4935, allocations: 0.8125 kB / 0.6272 GB, free: 2.496 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01353/0.507, allocations: 4.965 MB / 0.6321 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004211/0.5075, allocations: 195.6 kB / 0.6323 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001943/0.5077, allocations: 16 kB / 0.6323 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009593/0.5087, allocations: 95.89 kB / 0.6324 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006246/0.5093, allocations: 201.5 kB / 0.6326 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.551e-05/0.5094, allocations: 24.94 kB / 0.6326 GB, free: 12.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006644/0.5101, allocations: 0.5628 MB / 0.6332 GB, free: 12.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.5101, allocations: 0 / 0.6332 GB, free: 12.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001367/0.5114, allocations: 435.6 kB / 0.6336 GB, free: 11.97 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.0002709/0.5117, allocations: 132.9 kB / 0.6337 GB, free: 11.83 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00682/0.5185, allocations: 2.468 MB / 0.6361 GB, free: 9.359 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.5186, allocations: 0 / 0.6361 GB, free: 9.359 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004683/0.5233, allocations: 1.574 MB / 0.6376 GB, free: 7.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009408/0.5243, allocations: 89.34 kB / 0.6377 GB, free: 7.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00373/0.528, allocations: 2.411 MB / 0.6401 GB, free: 5.285 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005876/0.5286, allocations: 1.057 MB / 0.6411 GB, free: 4.203 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002831/0.5289, allocations: 59.44 kB / 0.6412 GB, free: 4.145 MB / 446.1 MB Notification: Performance of SimCode: time 8.01e-07/0.5289, allocations: 4 kB / 0.6412 GB, free: 4.141 MB / 446.1 MB Notification: Performance of Templates: time 0.02294/0.5519, allocations: 18.85 MB / 0.6596 GB, free: 1.441 MB / 462.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)