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.001177/0.001177, allocations: 102.7 kB / 16.4 MB, free: 5.977 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.47/1.47, allocations: 222.9 MB / 240.1 MB, free: 4.523 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.001784/0.001784, allocations: 192.4 kB / 290.4 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5264/0.5264, allocations: 91.9 MB / 432.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 79.69 kB / 0.5734 GB, free: 33.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1695, allocations: 71.28 MB / 0.643 GB, free: 3.578 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.008468/0.1781, allocations: 6.061 MB / 0.6489 GB, free: 13.48 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005813/0.1839, allocations: 1.782 MB / 0.6507 GB, free: 11.7 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001757/0.1857, allocations: 8 kB / 0.6507 GB, free: 11.69 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.187, allocations: 214.2 kB / 0.6509 GB, free: 11.48 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004017/0.1911, allocations: 0.7014 MB / 0.6516 GB, free: 10.78 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002291/0.1934, allocations: 0.5784 MB / 0.6521 GB, free: 10.2 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003233/0.1966, allocations: 1.335 MB / 0.6534 GB, free: 8.863 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009078/0.1976, allocations: 287.3 kB / 0.6537 GB, free: 8.57 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001495/0.1991, allocations: 0.5679 MB / 0.6543 GB, free: 8 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001549/0.2006, allocations: 0.6922 MB / 0.6549 GB, free: 7.305 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004954/0.2011, allocations: 100 kB / 0.655 GB, free: 7.207 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001195/0.2024, allocations: 227.9 kB / 0.6553 GB, free: 6.984 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005659/0.2029, allocations: 270.8 kB / 0.6555 GB, free: 6.719 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001417/0.2044, allocations: 0.5748 MB / 0.6561 GB, free: 6.141 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003554/0.2079, allocations: 1.444 MB / 0.6575 GB, free: 4.691 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.053e-05/0.208, allocations: 0 / 0.6575 GB, free: 4.691 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.587e-06/0.208, allocations: 0 / 0.6575 GB, free: 4.691 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.521e-05/0.2081, allocations: 0 / 0.6575 GB, free: 4.691 MB / 462.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.01245/0.2206, allocations: 2.452 MB / 0.6599 GB, free: 2.188 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.905e-05/0.2206, allocations: 12.03 kB / 0.6599 GB, free: 2.176 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006645/0.2273, allocations: 0.7673 MB / 0.6606 GB, free: 1.406 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002737/0.2301, allocations: 0.736 MB / 0.6614 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000513/0.2306, allocations: 248.2 kB / 0.6616 GB, free: 356 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004807/0.2311, allocations: 72 kB / 0.6617 GB, free: 284 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0042/0.2354, allocations: 1.09 MB / 0.6627 GB, free: 15.17 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.801e-05/0.2354, allocations: 0 / 0.6627 GB, free: 15.17 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001958/0.2356, allocations: 28 kB / 0.6628 GB, free: 15.14 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.382e-05/0.2357, allocations: 16 kB / 0.6628 GB, free: 15.13 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003425/0.2391, allocations: 1.035 MB / 0.6638 GB, free: 14.09 MB / 478.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.008744/0.2479, allocations: 3.049 MB / 0.6668 GB, free: 10.91 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004306/0.2522, allocations: 1.563 MB / 0.6683 GB, free: 9.219 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002353/0.2546, allocations: 0.758 MB / 0.669 GB, free: 8.457 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001627/0.2548, allocations: 16.98 kB / 0.669 GB, free: 8.441 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.635e-05/0.2549, allocations: 47.5 kB / 0.6691 GB, free: 8.387 MB / 478.1 MB Notification: Performance of pre-optimization done (n=92): time 6.893e-06/0.2549, allocations: 3.938 kB / 0.6691 GB, free: 8.383 MB / 478.1 MB Notification: Performance of matching and sorting (n=92): time 0.03648/0.2914, allocations: 7.468 MB / 0.6764 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.2915, allocations: 60.41 kB / 0.6764 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/0.293, allocations: 0.8397 MB / 0.6773 GB, free: 15.95 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002456/0.2932, allocations: 45.7 kB / 0.6773 GB, free: 15.89 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003995/0.2937, allocations: 456.5 kB / 0.6777 GB, free: 15.44 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005045/0.2942, allocations: 331.3 kB / 0.6781 GB, free: 15.11 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005779/0.2948, allocations: 194.9 kB / 0.6782 GB, free: 14.91 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.2949, allocations: 353.9 kB / 0.6786 GB, free: 14.56 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0016/0.2965, allocations: 0.6936 MB / 0.6793 GB, free: 13.87 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001695/0.2982, allocations: 0.8258 MB / 0.6801 GB, free: 13.02 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003216/0.3015, allocations: 1.493 MB / 0.6815 GB, free: 11.49 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/0.3015, allocations: 0 / 0.6815 GB, free: 11.49 MB / 494.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01687/0.3184, allocations: 4.355 MB / 0.6858 GB, free: 7.121 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.037e-05/0.3185, allocations: 8 kB / 0.6858 GB, free: 7.113 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/0.3185, allocations: 0 / 0.6858 GB, free: 7.113 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007269/0.3258, allocations: 1.893 MB / 0.6876 GB, free: 5.215 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.3269, allocations: 175.7 kB / 0.6878 GB, free: 5.043 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0262/0.3531, allocations: 9.968 MB / 0.6975 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001709/0.3548, allocations: 163 kB / 0.6977 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002516/0.3551, allocations: 43.98 kB / 0.6977 GB, free: 10.72 MB / 0.4981 GB 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.0006784/0.3558, allocations: 221.7 kB / 0.6979 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003794/0.3562, allocations: 110.6 kB / 0.698 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01424/0.3704, allocations: 4.057 MB / 0.702 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-05/0.3705, allocations: 8 kB / 0.702 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.3705, allocations: 3.938 kB / 0.702 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.794e-05/0.3706, allocations: 3.984 kB / 0.702 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01705/0.3876, allocations: 5.632 MB / 0.7075 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.554e-05/0.3877, allocations: 0 / 0.7075 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006337/0.3883, allocations: 91.83 kB / 0.7076 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006731/0.3951, allocations: 1.835 MB / 0.7094 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001972/0.3953, allocations: 16 kB / 0.7094 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02189/0.4172, allocations: 8.634 MB / 0.7179 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.4173, allocations: 0 / 0.7179 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01622/0.4335, allocations: 4.963 MB / 0.7227 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004572/0.434, allocations: 195.6 kB / 0.7229 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003579/0.4344, allocations: 20 kB / 0.7229 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/0.4356, allocations: 87.89 kB / 0.723 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007607/0.4364, allocations: 208.7 kB / 0.7232 GB, free: 300 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001192/0.4366, allocations: 24 kB / 0.7232 GB, free: 276 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001016/0.4376, allocations: 0.5628 MB / 0.7238 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.2e-07/0.4376, allocations: 0 / 0.7238 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001739/0.4393, allocations: 439.6 kB / 0.7242 GB, free: 15.26 MB / 0.5294 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.0003263/0.4397, allocations: 131 kB / 0.7243 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007121/0.4468, allocations: 2.447 MB / 0.7267 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.4469, allocations: 0.5 kB / 0.7267 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00491/0.4518, allocations: 1.569 MB / 0.7282 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.4528, allocations: 84.47 kB / 0.7283 GB, free: 11 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004318/0.4571, allocations: 2.013 MB / 0.7303 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008497/0.458, allocations: 1.053 MB / 0.7313 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000335/0.4584, allocations: 67.42 kB / 0.7314 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of SimCode: time 1.423e-06/0.4584, allocations: 0 / 0.7314 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of Templates: time 0.0279/0.4863, allocations: 18.94 MB / 0.7499 GB, free: 4.852 MB / 0.545 GB 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 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)