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.0007651/0.0007651, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.427/1.427, allocations: 223.3 MB / 239.4 MB, free: 5.383 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.001384/0.001384, allocations: 184.5 kB / 290.6 MB, free: 2.055 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4715/0.4715, allocations: 78.55 MB / 420.3 MB, free: 4.184 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005256/0.0005254, allocations: 8 kB / 0.4887 GB, free: 5.977 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.176, allocations: 69.36 MB / 0.5564 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.2708/0.4469, allocations: 5.923 MB / 0.5622 GB, free: 36.12 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003444/0.4503, allocations: 1.826 MB / 0.564 GB, free: 35.37 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005621/0.4509, allocations: 10.06 kB / 0.564 GB, free: 35.37 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004371/0.4514, allocations: 163.2 kB / 0.5641 GB, free: 35.32 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001473/0.4529, allocations: 0.6184 MB / 0.5647 GB, free: 35.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.454, allocations: 0.5331 MB / 0.5653 GB, free: 34.93 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001192/0.4552, allocations: 1.269 MB / 0.5665 GB, free: 34.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003594/0.4556, allocations: 248.2 kB / 0.5667 GB, free: 34.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000724/0.4563, allocations: 0.4997 MB / 0.5672 GB, free: 34.42 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005852/0.4569, allocations: 0.629 MB / 0.5678 GB, free: 34.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.457, allocations: 55.66 kB / 0.5679 GB, free: 34.23 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004314/0.4574, allocations: 185 kB / 0.5681 GB, free: 34.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.4576, allocations: 211.5 kB / 0.5683 GB, free: 34.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004074/0.458, allocations: 0.5547 MB / 0.5688 GB, free: 33.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001063/0.4591, allocations: 1.354 MB / 0.5701 GB, free: 33.56 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.4591, allocations: 0 / 0.5701 GB, free: 33.56 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.4591, allocations: 0 / 0.5701 GB, free: 33.56 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.341e-05/0.4592, allocations: 0.8438 kB / 0.5701 GB, free: 33.56 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.007139/0.4663, allocations: 2.294 MB / 0.5724 GB, free: 32.75 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.4664, allocations: 8.219 kB / 0.5724 GB, free: 32.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004995/0.4714, allocations: 0.7679 MB / 0.5731 GB, free: 32.67 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.4725, allocations: 0.7398 MB / 0.5739 GB, free: 32.3 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002429/0.4728, allocations: 264 kB / 0.5741 GB, free: 32.1 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.4729, allocations: 69.31 kB / 0.5742 GB, free: 32.1 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002052/0.475, allocations: 1.159 MB / 0.5753 GB, free: 32.01 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.475, allocations: 4 kB / 0.5753 GB, free: 32.01 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.505e-05/0.4751, allocations: 32.94 kB / 0.5753 GB, free: 32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.4751, allocations: 17.25 kB / 0.5754 GB, free: 32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002098/0.4772, allocations: 1.12 MB / 0.5764 GB, free: 31.98 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.004703/0.4819, allocations: 3.137 MB / 0.5795 GB, free: 31.04 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002831/0.4848, allocations: 1.712 MB / 0.5812 GB, free: 30.41 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001436/0.4862, allocations: 0.8277 MB / 0.582 GB, free: 30.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.759e-05/0.4863, allocations: 18.84 kB / 0.582 GB, free: 30.17 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.4864, allocations: 42.22 kB / 0.582 GB, free: 30.12 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 3.146e-06/0.4864, allocations: 0 / 0.582 GB, free: 30.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.03205/0.5184, allocations: 9.261 MB / 0.5911 GB, free: 28.61 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.5185, allocations: 61.44 kB / 0.5912 GB, free: 28.54 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/0.5198, allocations: 0.8338 MB / 0.592 GB, free: 28.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002245/0.52, allocations: 41.23 kB / 0.592 GB, free: 28.14 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003038/0.5203, allocations: 450.2 kB / 0.5924 GB, free: 27.78 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003074/0.5207, allocations: 333.7 kB / 0.5928 GB, free: 27.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.5208, allocations: 101.2 kB / 0.5928 GB, free: 27.46 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.645e-05/0.5209, allocations: 354.4 kB / 0.5932 GB, free: 27.14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001629/0.5225, allocations: 0.7684 MB / 0.5939 GB, free: 26.88 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/0.5242, allocations: 0.8887 MB / 0.5948 GB, free: 26.51 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003137/0.5274, allocations: 1.65 MB / 0.5964 GB, free: 25.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.5274, allocations: 0 / 0.5964 GB, free: 25.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01655/0.544, allocations: 5.32 MB / 0.6016 GB, free: 24.64 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/0.544, allocations: 5.5 kB / 0.6016 GB, free: 24.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.544, allocations: 3.562 kB / 0.6016 GB, free: 24.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007604/0.5517, allocations: 2.225 MB / 0.6038 GB, free: 24.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000979/0.5527, allocations: 175.1 kB / 0.604 GB, free: 24.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02365/0.5763, allocations: 10.29 MB / 0.614 GB, free: 18.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/0.5781, allocations: 194.7 kB / 0.6142 GB, free: 18.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002462/0.5784, allocations: 44.83 kB / 0.6142 GB, free: 18.26 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.0005914/0.579, allocations: 222.5 kB / 0.6145 GB, free: 18.04 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003049/0.5793, allocations: 115.3 kB / 0.6146 GB, free: 17.92 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01386/0.5931, allocations: 5.018 MB / 0.6195 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.878e-05/0.5932, allocations: 11.94 kB / 0.6195 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.5932, allocations: 2.062 kB / 0.6195 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.887e-05/0.5933, allocations: 3.984 kB / 0.6195 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01664/0.6099, allocations: 6.594 MB / 0.6259 GB, free: 6.145 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.607e-05/0.61, allocations: 0 / 0.6259 GB, free: 6.145 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005979/0.6106, allocations: 91.89 kB / 0.626 GB, free: 6.055 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006063/0.6167, allocations: 2.158 MB / 0.6281 GB, free: 3.895 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001844/0.6169, allocations: 23.98 kB / 0.6281 GB, free: 3.871 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02007/0.637, allocations: 8.838 MB / 0.6368 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.637, allocations: 3.938 kB / 0.6368 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01711/0.6541, allocations: 6.001 MB / 0.6426 GB, free: 4.867 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000461/0.6546, allocations: 191.6 kB / 0.6428 GB, free: 4.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003617/0.655, allocations: 16 kB / 0.6428 GB, free: 4.645 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/0.6562, allocations: 131.9 kB / 0.643 GB, free: 4.516 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006754/0.6569, allocations: 204.6 kB / 0.6431 GB, free: 4.316 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/0.657, allocations: 21.41 kB / 0.6432 GB, free: 4.297 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009156/0.658, allocations: 0.5628 MB / 0.6437 GB, free: 3.723 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.658, allocations: 0 / 0.6437 GB, free: 3.723 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001651/0.6596, allocations: 435.6 kB / 0.6441 GB, free: 3.297 MB / 446.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.0003218/0.66, allocations: 135.8 kB / 0.6443 GB, free: 3.156 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007801/0.6678, allocations: 2.705 MB / 0.6469 GB, free: 460 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.6678, allocations: 5.688 kB / 0.6469 GB, free: 456 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005217/0.673, allocations: 1.768 MB / 0.6486 GB, free: 14.66 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.6741, allocations: 87.42 kB / 0.6487 GB, free: 14.57 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003847/0.6779, allocations: 2.457 MB / 0.6511 GB, free: 12.14 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006918/0.6786, allocations: 1.057 MB / 0.6522 GB, free: 11.05 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003319/0.679, allocations: 80.33 kB / 0.6522 GB, free: 10.97 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002165/0.6792, allocations: 60.45 kB / 0.6523 GB, free: 10.91 MB / 462.1 MB Notification: Performance of SimCode: time 6.41e-07/0.6792, allocations: 0 / 0.6523 GB, free: 10.91 MB / 462.1 MB Notification: Performance of Templates: time 0.03654/0.7158, allocations: 21.27 MB / 0.6731 GB, free: 5.805 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: