Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_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_dev_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.001233/0.001233, allocations: 116.9 kB / 16.37 MB, free: 6.012 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.28/1.28, allocations: 222.9 MB / 240 MB, free: 4.52 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.001198/0.001198, allocations: 188.5 kB / 290.3 MB, free: 2.254 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4671/0.4671, allocations: 91.9 MB / 432.4 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 88.14 kB / 0.5033 GB, free: 6.965 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3058, allocations: 71.25 MB / 0.5729 GB, free: 37.08 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.004789/0.3106, allocations: 6.061 MB / 0.5788 GB, free: 33.51 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00234/0.313, allocations: 1.789 MB / 0.5806 GB, free: 32.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003013/0.3133, allocations: 8.438 kB / 0.5806 GB, free: 32.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000351/0.3137, allocations: 213.2 kB / 0.5808 GB, free: 32.14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001134/0.3148, allocations: 0.6965 MB / 0.5814 GB, free: 31.67 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008879/0.3157, allocations: 0.5857 MB / 0.582 GB, free: 31.38 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008787/0.3166, allocations: 1.33 MB / 0.5833 GB, free: 30.71 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003262/0.3169, allocations: 294.3 kB / 0.5836 GB, free: 30.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004194/0.3174, allocations: 0.5535 MB / 0.5841 GB, free: 30.32 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005152/0.3179, allocations: 0.6913 MB / 0.5848 GB, free: 29.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000118/0.318, allocations: 97.91 kB / 0.5849 GB, free: 29.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003246/0.3183, allocations: 244.7 kB / 0.5851 GB, free: 29.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.3185, allocations: 262.8 kB / 0.5854 GB, free: 29.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003058/0.3188, allocations: 0.5793 MB / 0.586 GB, free: 29.36 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008844/0.3197, allocations: 1.441 MB / 0.5874 GB, free: 28.71 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.706e-06/0.3197, allocations: 0 / 0.5874 GB, free: 28.71 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3197, allocations: 1.375 kB / 0.5874 GB, free: 28.71 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.3197, allocations: 0 / 0.5874 GB, free: 28.71 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.006666/0.3264, allocations: 2.444 MB / 0.5897 GB, free: 27.6 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.3265, allocations: 10.31 kB / 0.5898 GB, free: 27.6 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004547/0.331, allocations: 0.7635 MB / 0.5905 GB, free: 27.45 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009831/0.332, allocations: 0.7419 MB / 0.5912 GB, free: 26.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002029/0.3322, allocations: 251.9 kB / 0.5915 GB, free: 26.71 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/0.3324, allocations: 71.88 kB / 0.5915 GB, free: 26.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/0.3342, allocations: 1.089 MB / 0.5926 GB, free: 26.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.3342, allocations: 0 / 0.5926 GB, free: 26.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.652e-05/0.3343, allocations: 25.88 kB / 0.5926 GB, free: 26.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.3343, allocations: 20.38 kB / 0.5926 GB, free: 26.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001944/0.3362, allocations: 1.034 MB / 0.5937 GB, free: 25.91 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.004616/0.3409, allocations: 3.059 MB / 0.5966 GB, free: 24.14 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002725/0.3436, allocations: 1.569 MB / 0.5982 GB, free: 23.18 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001492/0.3451, allocations: 0.7507 MB / 0.5989 GB, free: 22.89 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000113/0.3452, allocations: 15.41 kB / 0.5989 GB, free: 22.89 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.3453, allocations: 44.84 kB / 0.599 GB, free: 22.84 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 3.146e-06/0.3453, allocations: 0 / 0.599 GB, free: 22.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.0283/0.3736, allocations: 7.477 MB / 0.6063 GB, free: 21.54 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.3737, allocations: 67.31 kB / 0.6063 GB, free: 21.47 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/0.375, allocations: 0.8462 MB / 0.6072 GB, free: 21.1 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001794/0.3752, allocations: 44.86 kB / 0.6072 GB, free: 21.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002703/0.3755, allocations: 439.9 kB / 0.6076 GB, free: 20.7 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003012/0.3758, allocations: 336.2 kB / 0.6079 GB, free: 20.44 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004011/0.3762, allocations: 198.6 kB / 0.6081 GB, free: 20.34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.794e-05/0.3763, allocations: 350.9 kB / 0.6085 GB, free: 20.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001395/0.3777, allocations: 0.6939 MB / 0.6091 GB, free: 19.76 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001431/0.3791, allocations: 0.8152 MB / 0.6099 GB, free: 19.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002708/0.3818, allocations: 1.494 MB / 0.6114 GB, free: 18.72 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.3818, allocations: 5.125 kB / 0.6114 GB, free: 18.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01278/0.3946, allocations: 4.354 MB / 0.6157 GB, free: 17.06 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.3947, allocations: 7.344 kB / 0.6157 GB, free: 17.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.3947, allocations: 2.531 kB / 0.6157 GB, free: 17.06 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005926/0.4006, allocations: 1.896 MB / 0.6175 GB, free: 16.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008469/0.4015, allocations: 172.3 kB / 0.6177 GB, free: 16.17 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01804/0.4196, allocations: 9.963 MB / 0.6274 GB, free: 6.051 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/0.4209, allocations: 163 kB / 0.6276 GB, free: 5.891 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.77e-05/0.421, allocations: 35.98 kB / 0.6276 GB, free: 5.855 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.0003386/0.4214, allocations: 229.7 kB / 0.6278 GB, free: 5.621 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.4215, allocations: 110.6 kB / 0.6279 GB, free: 5.512 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01056/0.4321, allocations: 4.053 MB / 0.6319 GB, free: 1.441 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.4321, allocations: 8 kB / 0.6319 GB, free: 1.434 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.4321, allocations: 4 kB / 0.6319 GB, free: 1.43 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-05/0.4321, allocations: 3.984 kB / 0.6319 GB, free: 1.426 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01363/0.4458, allocations: 5.636 MB / 0.6374 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.467e-05/0.4458, allocations: 3.984 kB / 0.6374 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005791/0.4464, allocations: 91.91 kB / 0.6375 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005579/0.452, allocations: 1.839 MB / 0.6393 GB, free: 9.715 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001588/0.4522, allocations: 16 kB / 0.6393 GB, free: 9.699 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01809/0.4703, allocations: 8.628 MB / 0.6477 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4703, allocations: 0 / 0.6477 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01334/0.4837, allocations: 4.975 MB / 0.6526 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003888/0.4841, allocations: 191.6 kB / 0.6528 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/0.4842, allocations: 16 kB / 0.6528 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008856/0.4851, allocations: 91.89 kB / 0.6529 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005803/0.4857, allocations: 200.7 kB / 0.6531 GB, free: 11.42 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.439e-05/0.4858, allocations: 24 kB / 0.6531 GB, free: 11.39 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000646/0.4865, allocations: 0.5667 MB / 0.6536 GB, free: 10.82 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4865, allocations: 3.938 kB / 0.6536 GB, free: 10.81 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0011/0.4876, allocations: 435.5 kB / 0.6541 GB, free: 10.39 MB / 462.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.0002473/0.4878, allocations: 137.8 kB / 0.6542 GB, free: 10.25 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006001/0.4938, allocations: 2.452 MB / 0.6566 GB, free: 7.777 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.4939, allocations: 4.062 kB / 0.6566 GB, free: 7.773 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004326/0.4982, allocations: 1.566 MB / 0.6581 GB, free: 6.195 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007546/0.499, allocations: 93.19 kB / 0.6582 GB, free: 6.102 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003358/0.5023, allocations: 1.977 MB / 0.6601 GB, free: 4.105 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005773/0.5029, allocations: 1.053 MB / 0.6612 GB, free: 3.027 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003085/0.5032, allocations: 82.78 kB / 0.6612 GB, free: 2.941 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001865/0.5034, allocations: 63.42 kB / 0.6613 GB, free: 2.883 MB / 462.1 MB Notification: Performance of SimCode: time 9.92e-07/0.5034, allocations: 4 kB / 0.6613 GB, free: 2.879 MB / 462.1 MB Notification: Performance of Templates: time 0.03609/0.5395, allocations: 24.16 MB / 0.6849 GB, free: 10.71 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)