Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_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.TGTypeIV_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007049/0.0007049, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.325/1.325, allocations: 223.3 MB / 239 MB, free: 5.441 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.001089/0.00109, allocations: 184.3 kB / 290.3 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4994/0.4994, allocations: 78.55 MB / 419.9 MB, free: 4.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003634/0.0003635, allocations: 12 kB / 499.8 MB, free: 6.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1368, allocations: 69.37 MB / 0.5558 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test): time 0.2538/0.3907, allocations: 6.439 MB / 0.5621 GB, free: 37.61 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004572/0.3953, allocations: 2.087 MB / 0.5641 GB, free: 37.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001147/0.3965, allocations: 18.94 kB / 0.5642 GB, free: 37.28 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006202/0.3971, allocations: 182.6 kB / 0.5643 GB, free: 37.2 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001889/0.399, allocations: 0.6113 MB / 0.5649 GB, free: 36.92 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001559/0.4006, allocations: 0.6252 MB / 0.5655 GB, free: 36.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002092/0.4027, allocations: 1.485 MB / 0.567 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007105/0.4034, allocations: 359.9 kB / 0.5673 GB, free: 36.42 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001127/0.4046, allocations: 0.5528 MB / 0.5679 GB, free: 36.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008162/0.4054, allocations: 0.6976 MB / 0.5686 GB, free: 36.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.4055, allocations: 58.94 kB / 0.5686 GB, free: 36.05 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004934/0.406, allocations: 188.3 kB / 0.5688 GB, free: 36.04 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002027/0.4062, allocations: 243.9 kB / 0.569 GB, free: 35.96 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002741/0.4065, allocations: 255.4 kB / 0.5693 GB, free: 35.88 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001416/0.4079, allocations: 1.353 MB / 0.5706 GB, free: 35.65 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.373e-06/0.408, allocations: 0.8438 kB / 0.5706 GB, free: 35.65 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.597e-06/0.408, allocations: 0.7812 kB / 0.5706 GB, free: 35.65 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.785e-05/0.408, allocations: 0 / 0.5706 GB, free: 35.65 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: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.007372/0.4154, allocations: 2.559 MB / 0.5731 GB, free: 34.62 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.4155, allocations: 11.88 kB / 0.5731 GB, free: 34.62 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004882/0.4203, allocations: 0.8129 MB / 0.5739 GB, free: 34.46 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001708/0.4221, allocations: 0.868 MB / 0.5747 GB, free: 33.88 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000205/0.4223, allocations: 247.1 kB / 0.575 GB, free: 33.69 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/0.4225, allocations: 96.45 kB / 0.5751 GB, free: 33.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002397/0.4249, allocations: 1.45 MB / 0.5765 GB, free: 33.05 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.4249, allocations: 2.75 kB / 0.5765 GB, free: 33.05 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/0.4251, allocations: 37.03 kB / 0.5765 GB, free: 33.02 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.4251, allocations: 23.28 kB / 0.5766 GB, free: 33.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002271/0.4274, allocations: 1.308 MB / 0.5778 GB, free: 32.6 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.006038/0.4334, allocations: 4.546 MB / 0.5823 GB, free: 29.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002713/0.4361, allocations: 1.851 MB / 0.5841 GB, free: 28.74 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001411/0.4376, allocations: 0.916 MB / 0.585 GB, free: 28.4 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/0.4377, allocations: 12.09 kB / 0.585 GB, free: 28.4 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.4377, allocations: 46.88 kB / 0.585 GB, free: 28.36 MB / 430.1 MB Notification: Performance of pre-optimization done (n=110): time 3.266e-06/0.4377, allocations: 4 kB / 0.585 GB, free: 28.35 MB / 430.1 MB Notification: Performance of matching and sorting (n=110): time 0.02624/0.464, allocations: 8.687 MB / 0.5935 GB, free: 26.82 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.522e-05/0.4641, allocations: 115 kB / 0.5936 GB, free: 26.7 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001728/0.4658, allocations: 1.043 MB / 0.5946 GB, free: 26.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003141/0.4662, allocations: 46.09 kB / 0.5947 GB, free: 26.22 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000437/0.4666, allocations: 0.5864 MB / 0.5953 GB, free: 25.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004166/0.467, allocations: 389.5 kB / 0.5956 GB, free: 25.45 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.52e-05/0.4671, allocations: 28.59 kB / 0.5957 GB, free: 25.43 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.4672, allocations: 358.6 kB / 0.596 GB, free: 25.1 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001713/0.469, allocations: 0.8324 MB / 0.5968 GB, free: 24.81 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001757/0.4707, allocations: 1.03 MB / 0.5978 GB, free: 24.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001766/0.4725, allocations: 0.905 MB / 0.5987 GB, free: 23.94 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-06/0.4725, allocations: 2.406 kB / 0.5987 GB, free: 23.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01622/0.4888, allocations: 5.531 MB / 0.6041 GB, free: 22.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001598/0.489, allocations: 216.7 kB / 0.6043 GB, free: 22.44 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.489, allocations: 7.719 kB / 0.6043 GB, free: 22.44 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007688/0.4967, allocations: 2.224 MB / 0.6065 GB, free: 22.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/0.4981, allocations: 235.8 kB / 0.6067 GB, free: 22.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02259/0.5208, allocations: 10.28 MB / 0.6168 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/0.5225, allocations: 234.7 kB / 0.617 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/0.5227, allocations: 43.98 kB / 0.617 GB, free: 15.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.5227, allocations: 5.719 kB / 0.617 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01236/0.535, allocations: 5.323 MB / 0.6222 GB, free: 9.848 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.001e-05/0.5351, allocations: 9 kB / 0.6222 GB, free: 9.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005671/0.5408, allocations: 2.225 MB / 0.6244 GB, free: 7.613 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.5419, allocations: 215.7 kB / 0.6246 GB, free: 7.402 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02021/0.5621, allocations: 10.25 MB / 0.6346 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/0.5639, allocations: 206.9 kB / 0.6348 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001429/0.564, allocations: 51.98 kB / 0.6349 GB, free: 12.76 MB / 446.1 MB Warning: Assuming fixed start value for the following 5 variables: tGTypeIV.integrator1.y:VARIABLE(flow=false start = tGTypeIV.integrator1.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIV.integrator5.y:VARIABLE(flow=false start = tGTypeIV.integrator5.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIV.integrator4.y:VARIABLE(flow=false start = tGTypeIV.integrator4.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIV.integrator2.y:VARIABLE(flow=false start = tGTypeIV.integrator2.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIV.integrator3.y:VARIABLE(flow=false start = tGTypeIV.integrator3.y_start fixed = true ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 5 (tGTypeIV.integrator1.local_reset,tGTypeIV.integrator5.local_reset,tGTypeIV.integrator4.local_reset,tGTypeIV.integrator2.local_reset,tGTypeIV.integrator3.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (136): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 16} Notification: Performance of prepare postOptimizeDAE: time 0.00085/0.5649, allocations: 361.3 kB / 0.6352 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003509/0.5653, allocations: 135.7 kB / 0.6353 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0138/0.5791, allocations: 5.184 MB / 0.6404 GB, free: 7.062 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.785e-05/0.5791, allocations: 8 kB / 0.6404 GB, free: 7.055 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.5791, allocations: 0.875 kB / 0.6404 GB, free: 7.055 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.382e-05/0.5792, allocations: 3.984 kB / 0.6404 GB, free: 7.051 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01647/0.5957, allocations: 6.984 MB / 0.6472 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.83e-05/0.5957, allocations: 0 / 0.6472 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007942/0.5965, allocations: 131.8 kB / 0.6474 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006369/0.6029, allocations: 2.147 MB / 0.6495 GB, free: 13.65 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002664/0.6032, allocations: 20.69 kB / 0.6495 GB, free: 13.63 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01929/0.6225, allocations: 8.842 MB / 0.6581 GB, free: 4.66 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.6226, allocations: 4.547 kB / 0.6581 GB, free: 4.656 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01641/0.639, allocations: 6.228 MB / 0.6642 GB, free: 14.41 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005686/0.6396, allocations: 231.1 kB / 0.6644 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002616/0.6399, allocations: 24 kB / 0.6644 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/0.641, allocations: 144.8 kB / 0.6646 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006649/0.6417, allocations: 206.6 kB / 0.6648 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.627e-05/0.6417, allocations: 32 kB / 0.6648 GB, free: 13.77 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001002/0.6428, allocations: 0.6906 MB / 0.6655 GB, free: 13.07 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6428, allocations: 0 / 0.6655 GB, free: 13.07 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002709/0.6455, allocations: 0.7956 MB / 0.6663 GB, free: 12.27 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (gen.delta,gen.w,gen.e1q,tGTypeIV.integrator3.y,tGTypeIV.integrator2.y,tGTypeIV.integrator4.y,tGTypeIV.integrator5.y,tGTypeIV.integrator1.y) * 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 (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003118/0.6458, allocations: 127.2 kB / 0.6664 GB, free: 12.14 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01277/0.6586, allocations: 4.922 MB / 0.6712 GB, free: 7.203 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.6586, allocations: 4.125 kB / 0.6712 GB, free: 7.199 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004955/0.6636, allocations: 1.838 MB / 0.673 GB, free: 5.352 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/0.6651, allocations: 137.6 kB / 0.6731 GB, free: 5.219 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005042/0.6702, allocations: 2.812 MB / 0.6759 GB, free: 2.414 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008732/0.6711, allocations: 1.185 MB / 0.677 GB, free: 1.199 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000691/0.6718, allocations: 133.8 kB / 0.6771 GB, free: 1.07 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002323/0.672, allocations: 71.38 kB / 0.6772 GB, free: 1 MB / 478.1 MB Notification: Performance of SimCode: time 1.422e-06/0.672, allocations: 0 / 0.6772 GB, free: 1 MB / 478.1 MB Notification: Performance of Templates: time 0.04817/0.7202, allocations: 30.41 MB / 0.7069 GB, free: 2.723 MB / 0.4981 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe 2>&1) Environment - environmentSimulation: