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.007814/0.007813, allocations: 103.5 kB / 15.73 MB, free: 6.039 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.386/1.386, allocations: 222.9 MB / 239.4 MB, free: 4.555 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.001496/0.001496, allocations: 191.3 kB / 289.7 MB, free: 2.277 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5301/0.5301, allocations: 91.89 MB / 431.7 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 85.23 kB / 0.5727 GB, free: 33.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1508, allocations: 71.28 MB / 0.6424 GB, free: 3.605 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.006934/0.1578, allocations: 6.057 MB / 0.6483 GB, free: 13.52 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003763/0.1616, allocations: 1.782 MB / 0.65 GB, free: 11.73 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000849/0.1625, allocations: 8 kB / 0.65 GB, free: 11.72 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000529/0.163, allocations: 214.2 kB / 0.6502 GB, free: 11.51 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001816/0.1649, allocations: 0.7428 MB / 0.6509 GB, free: 10.77 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.1661, allocations: 0.5885 MB / 0.6515 GB, free: 10.18 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001399/0.1675, allocations: 1.335 MB / 0.6528 GB, free: 8.844 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004066/0.1679, allocations: 291.3 kB / 0.6531 GB, free: 8.547 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006529/0.1686, allocations: 0.5601 MB / 0.6536 GB, free: 7.984 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006756/0.1693, allocations: 0.6922 MB / 0.6543 GB, free: 7.289 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001445/0.1694, allocations: 96 kB / 0.6544 GB, free: 7.195 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004597/0.1699, allocations: 239.9 kB / 0.6546 GB, free: 6.961 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002096/0.1701, allocations: 262.8 kB / 0.6549 GB, free: 6.703 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004656/0.1706, allocations: 0.5748 MB / 0.6555 GB, free: 6.125 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00142/0.172, allocations: 1.448 MB / 0.6569 GB, free: 4.672 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.172, allocations: 0 / 0.6569 GB, free: 4.672 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1721, allocations: 0 / 0.6569 GB, free: 4.672 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.315e-05/0.1721, allocations: 0 / 0.6569 GB, free: 4.672 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.007713/0.1798, allocations: 2.45 MB / 0.6593 GB, free: 2.168 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.1799, allocations: 8.031 kB / 0.6593 GB, free: 2.16 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004939/0.1848, allocations: 0.7595 MB / 0.66 GB, free: 1.398 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/0.1861, allocations: 0.7477 MB / 0.6607 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002716/0.1863, allocations: 248.2 kB / 0.661 GB, free: 336 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.1865, allocations: 72 kB / 0.661 GB, free: 264 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002256/0.1888, allocations: 1.09 MB / 0.6621 GB, free: 15.15 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.1888, allocations: 0 / 0.6621 GB, free: 15.15 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.949e-05/0.1889, allocations: 28 kB / 0.6621 GB, free: 15.12 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/0.1889, allocations: 16 kB / 0.6622 GB, free: 15.11 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002336/0.1912, allocations: 1.031 MB / 0.6632 GB, free: 14.07 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.005747/0.197, allocations: 3.053 MB / 0.6661 GB, free: 10.89 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003067/0.2001, allocations: 1.563 MB / 0.6677 GB, free: 9.199 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001642/0.2018, allocations: 0.7618 MB / 0.6684 GB, free: 8.434 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001053/0.2019, allocations: 9 kB / 0.6684 GB, free: 8.426 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.159e-05/0.2019, allocations: 47.56 kB / 0.6685 GB, free: 8.371 MB / 478.1 MB Notification: Performance of pre-optimization done (n=92): time 3.356e-06/0.2019, allocations: 3.938 kB / 0.6685 GB, free: 8.367 MB / 478.1 MB Notification: Performance of matching and sorting (n=92): time 0.03037/0.2323, allocations: 7.476 MB / 0.6758 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/0.2324, allocations: 64.41 kB / 0.6758 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/0.2338, allocations: 0.8358 MB / 0.6766 GB, free: 15.92 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00025/0.234, allocations: 49.64 kB / 0.6767 GB, free: 15.87 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003527/0.2344, allocations: 452.5 kB / 0.6771 GB, free: 15.42 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004761/0.2349, allocations: 331.2 kB / 0.6774 GB, free: 15.09 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005205/0.2354, allocations: 198.8 kB / 0.6776 GB, free: 14.89 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.2355, allocations: 349.9 kB / 0.678 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001583/0.2371, allocations: 0.6936 MB / 0.6786 GB, free: 13.85 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001674/0.2388, allocations: 0.8142 MB / 0.6794 GB, free: 13 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003135/0.242, allocations: 1.493 MB / 0.6809 GB, free: 11.48 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/0.242, allocations: 8 kB / 0.6809 GB, free: 11.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01447/0.2565, allocations: 4.359 MB / 0.6852 GB, free: 7.098 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/0.2565, allocations: 4 kB / 0.6852 GB, free: 7.094 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.2565, allocations: 4 kB / 0.6852 GB, free: 7.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007076/0.2636, allocations: 1.893 MB / 0.687 GB, free: 5.191 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009818/0.2647, allocations: 175.7 kB / 0.6872 GB, free: 5.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02511/0.2898, allocations: 9.971 MB / 0.6969 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/0.2914, allocations: 159 kB / 0.6971 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001982/0.2916, allocations: 39.98 kB / 0.6971 GB, free: 10.7 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.000567/0.2922, allocations: 229.7 kB / 0.6973 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002802/0.2924, allocations: 110.6 kB / 0.6974 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01409/0.3065, allocations: 4.045 MB / 0.7014 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.596e-05/0.3066, allocations: 15.98 kB / 0.7014 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.3066, allocations: 0 / 0.7014 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.103e-05/0.3066, allocations: 3.984 kB / 0.7014 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01636/0.323, allocations: 5.629 MB / 0.7069 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.514e-05/0.3231, allocations: 0 / 0.7069 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006291/0.3237, allocations: 95.83 kB / 0.707 GB, free: 420 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00671/0.3304, allocations: 1.835 MB / 0.7088 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002073/0.3307, allocations: 19.98 kB / 0.7088 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0223/0.353, allocations: 8.626 MB / 0.7172 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.353, allocations: 0 / 0.7172 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01618/0.3692, allocations: 4.963 MB / 0.7221 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003655/0.3696, allocations: 207.5 kB / 0.7223 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002235/0.3698, allocations: 16 kB / 0.7223 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/0.3709, allocations: 91.89 kB / 0.7224 GB, free: 476 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006333/0.3716, allocations: 196.8 kB / 0.7226 GB, free: 280 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-05/0.3717, allocations: 35.92 kB / 0.7226 GB, free: 244 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007988/0.3725, allocations: 0.5667 MB / 0.7232 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3725, allocations: 0 / 0.7232 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001313/0.3738, allocations: 439.6 kB / 0.7236 GB, free: 15.23 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.0002778/0.3741, allocations: 127.2 kB / 0.7237 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006875/0.381, allocations: 2.441 MB / 0.7261 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.381, allocations: 0 / 0.7261 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004832/0.3858, allocations: 1.57 MB / 0.7276 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007754/0.3866, allocations: 88.31 kB / 0.7277 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003802/0.3905, allocations: 1.972 MB / 0.7296 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007215/0.3912, allocations: 1.061 MB / 0.7307 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003237/0.3915, allocations: 82.77 kB / 0.7307 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002012/0.3917, allocations: 67.36 kB / 0.7308 GB, free: 7.738 MB / 0.5294 GB Notification: Performance of SimCode: time 5.41e-07/0.3917, allocations: 0 / 0.7308 GB, free: 7.738 MB / 0.5294 GB Notification: Performance of Templates: time 0.03616/0.4279, allocations: 24.37 MB / 0.7546 GB, free: 15.36 MB / 0.5606 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)