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.005269/0.005269, allocations: 104.2 kB / 15.73 MB, free: 6.043 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.322/1.322, allocations: 222.9 MB / 239.4 MB, free: 4.566 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.001381/0.001381, allocations: 192.5 kB / 289.7 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4467/0.4467, allocations: 78.52 MB / 418.4 MB, free: 3.109 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 80.11 kB / 0.5536 GB, free: 1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.293, allocations: 68.18 MB / 0.6202 GB, free: 9.797 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.005112/0.2981, allocations: 6.039 MB / 0.6261 GB, free: 4.172 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002946/0.3011, allocations: 1.778 MB / 0.6278 GB, free: 2.391 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007274/0.3018, allocations: 8 kB / 0.6278 GB, free: 2.383 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005591/0.3024, allocations: 214.2 kB / 0.628 GB, free: 2.172 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001664/0.3041, allocations: 0.7477 MB / 0.6288 GB, free: 1.422 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000982/0.3051, allocations: 0.581 MB / 0.6293 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001054/0.3062, allocations: 1.335 MB / 0.6306 GB, free: 15.51 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003974/0.3066, allocations: 291.3 kB / 0.6309 GB, free: 15.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005783/0.3072, allocations: 0.5562 MB / 0.6315 GB, free: 14.65 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006756/0.3078, allocations: 0.6922 MB / 0.6321 GB, free: 13.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001362/0.308, allocations: 100 kB / 0.6322 GB, free: 13.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003899/0.3084, allocations: 231.9 kB / 0.6325 GB, free: 13.63 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002084/0.3086, allocations: 266.8 kB / 0.6327 GB, free: 13.37 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004475/0.3091, allocations: 0.5709 MB / 0.6333 GB, free: 12.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001308/0.3104, allocations: 1.446 MB / 0.6347 GB, free: 11.35 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3104, allocations: 0 / 0.6347 GB, free: 11.35 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3104, allocations: 0 / 0.6347 GB, free: 11.35 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.3104, allocations: 0 / 0.6347 GB, free: 11.35 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.007453/0.3179, allocations: 2.45 MB / 0.6371 GB, free: 8.848 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.3179, allocations: 8.031 kB / 0.6371 GB, free: 8.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004888/0.3228, allocations: 0.7712 MB / 0.6378 GB, free: 8.062 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/0.324, allocations: 0.7438 MB / 0.6386 GB, free: 7.273 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000249/0.3242, allocations: 244.2 kB / 0.6388 GB, free: 7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.3244, allocations: 75.94 kB / 0.6389 GB, free: 6.926 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002058/0.3265, allocations: 1.086 MB / 0.6399 GB, free: 5.824 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.3265, allocations: 0 / 0.6399 GB, free: 5.824 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.494e-05/0.3266, allocations: 32 kB / 0.64 GB, free: 5.793 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/0.3266, allocations: 16 kB / 0.64 GB, free: 5.777 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002142/0.3288, allocations: 1.031 MB / 0.641 GB, free: 4.75 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.004959/0.3337, allocations: 3.057 MB / 0.644 GB, free: 1.559 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002858/0.3366, allocations: 1.573 MB / 0.6455 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001405/0.338, allocations: 0.7541 MB / 0.6462 GB, free: 15.11 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001129/0.3381, allocations: 16.97 kB / 0.6463 GB, free: 15.09 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.3382, allocations: 43.56 kB / 0.6463 GB, free: 15.04 MB / 462.1 MB Notification: Performance of pre-optimization done (n=92): time 4.649e-06/0.3382, allocations: 3.984 kB / 0.6463 GB, free: 15.03 MB / 462.1 MB Notification: Performance of matching and sorting (n=92): time 0.02824/0.3664, allocations: 7.472 MB / 0.6536 GB, free: 7.523 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.3665, allocations: 64.41 kB / 0.6537 GB, free: 7.449 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.3676, allocations: 0.8435 MB / 0.6545 GB, free: 6.582 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000124/0.3677, allocations: 45.7 kB / 0.6545 GB, free: 6.531 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00032/0.3681, allocations: 456.5 kB / 0.655 GB, free: 6.078 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003197/0.3684, allocations: 327.3 kB / 0.6553 GB, free: 5.754 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003961/0.3688, allocations: 194.9 kB / 0.6555 GB, free: 5.555 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.3689, allocations: 357.9 kB / 0.6558 GB, free: 5.199 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001476/0.3704, allocations: 0.6897 MB / 0.6565 GB, free: 4.512 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001522/0.372, allocations: 0.8142 MB / 0.6573 GB, free: 3.668 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002933/0.3749, allocations: 1.497 MB / 0.6587 GB, free: 2.145 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.535e-06/0.3749, allocations: 4 kB / 0.6587 GB, free: 2.141 MB / 462.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01326/0.3882, allocations: 4.355 MB / 0.663 GB, free: 13.77 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.3883, allocations: 4 kB / 0.663 GB, free: 13.76 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.3883, allocations: 4 kB / 0.663 GB, free: 13.76 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00624/0.3945, allocations: 1.889 MB / 0.6648 GB, free: 11.87 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009235/0.3955, allocations: 175.7 kB / 0.665 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02225/0.4177, allocations: 9.963 MB / 0.6747 GB, free: 1.582 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/0.4191, allocations: 163 kB / 0.6749 GB, free: 1.422 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/0.4192, allocations: 39.98 kB / 0.6749 GB, free: 1.383 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.0003902/0.4196, allocations: 225.7 kB / 0.6752 GB, free: 1.152 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/0.4198, allocations: 114.6 kB / 0.6753 GB, free: 1.039 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01237/0.4322, allocations: 4.053 MB / 0.6792 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/0.4323, allocations: 12 kB / 0.6792 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.4323, allocations: 0 / 0.6792 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.729e-05/0.4323, allocations: 3.984 kB / 0.6792 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0142/0.4465, allocations: 5.625 MB / 0.6847 GB, free: 7.195 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/0.4465, allocations: 3.938 kB / 0.6847 GB, free: 7.191 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005624/0.4471, allocations: 91.89 kB / 0.6848 GB, free: 7.102 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005722/0.4528, allocations: 1.835 MB / 0.6866 GB, free: 5.262 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001185/0.453, allocations: 23.98 kB / 0.6866 GB, free: 5.238 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01878/0.4718, allocations: 8.631 MB / 0.6951 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.4718, allocations: 0 / 0.6951 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01416/0.486, allocations: 4.971 MB / 0.6999 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000286/0.4863, allocations: 191.6 kB / 0.7001 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/0.4864, allocations: 16 kB / 0.7001 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009064/0.4873, allocations: 91.89 kB / 0.7002 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005982/0.4879, allocations: 208.6 kB / 0.7004 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.382e-05/0.488, allocations: 20 kB / 0.7004 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006765/0.4887, allocations: 0.5706 MB / 0.701 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4887, allocations: 0 / 0.701 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00109/0.4898, allocations: 435.6 kB / 0.7014 GB, free: 5.922 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.0002348/0.49, allocations: 119.1 kB / 0.7015 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006019/0.4961, allocations: 2.455 MB / 0.7039 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4961, allocations: 0.5 kB / 0.7039 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004229/0.5003, allocations: 1.587 MB / 0.7055 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006292/0.501, allocations: 87.38 kB / 0.7055 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003182/0.5042, allocations: 1.966 MB / 0.7075 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005378/0.5047, allocations: 1.057 MB / 0.7085 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002542/0.505, allocations: 90.7 kB / 0.7086 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001818/0.5052, allocations: 59.44 kB / 0.7086 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of SimCode: time 3.5e-07/0.5052, allocations: 0 / 0.7086 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of Templates: time 0.03403/0.5392, allocations: 24.39 MB / 0.7324 GB, free: 6 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)