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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 239.7 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009815/0.0009811, allocations: 95.98 kB / 289.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4093/0.4093, allocations: 78.48 MB / 418.5 MB, free: 8.766 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 67.89 kB / 497.4 MB, free: 10.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2528, allocations: 68.12 MB / 0.5523 GB, free: 20.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.004748/0.2576, allocations: 6.379 MB / 0.5585 GB, free: 13.8 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002278/0.2599, allocations: 1.833 MB / 0.5603 GB, free: 11.96 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003138/0.2602, allocations: 15.94 kB / 0.5603 GB, free: 11.95 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003354/0.2606, allocations: 163 kB / 0.5605 GB, free: 11.79 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001085/0.2617, allocations: 0.6264 MB / 0.5611 GB, free: 11.16 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008358/0.2625, allocations: 0.5364 MB / 0.5616 GB, free: 10.63 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007461/0.2633, allocations: 1.28 MB / 0.5629 GB, free: 9.344 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002789/0.2636, allocations: 258.2 kB / 0.5631 GB, free: 9.082 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003488/0.2639, allocations: 0.5248 MB / 0.5636 GB, free: 8.555 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004518/0.2644, allocations: 0.6532 MB / 0.5643 GB, free: 7.898 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.897e-05/0.2645, allocations: 64 kB / 0.5643 GB, free: 7.836 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000303/0.2648, allocations: 195.8 kB / 0.5645 GB, free: 7.645 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.265, allocations: 230.9 kB / 0.5648 GB, free: 7.418 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002953/0.2653, allocations: 0.5435 MB / 0.5653 GB, free: 6.871 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007681/0.266, allocations: 1.386 MB / 0.5666 GB, free: 5.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.266, allocations: 0 / 0.5666 GB, free: 5.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.266, allocations: 0 / 0.5666 GB, free: 5.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.2661, allocations: 0 / 0.5666 GB, free: 5.48 MB / 378.7 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.006755/0.2728, allocations: 2.446 MB / 0.569 GB, free: 2.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.2729, allocations: 15.97 kB / 0.569 GB, free: 2.965 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004451/0.2773, allocations: 0.7673 MB / 0.5698 GB, free: 2.195 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007678/0.2781, allocations: 0.7398 MB / 0.5705 GB, free: 1.414 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001889/0.2783, allocations: 248.1 kB / 0.5708 GB, free: 1.133 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.2784, allocations: 76 kB / 0.5708 GB, free: 1.059 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001802/0.2802, allocations: 1.094 MB / 0.5719 GB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.2803, allocations: 0 / 0.5719 GB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.695e-05/0.2804, allocations: 32 kB / 0.5719 GB, free: 15.92 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.2804, allocations: 16 kB / 0.5719 GB, free: 15.91 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002183/0.2826, allocations: 1.035 MB / 0.5729 GB, free: 14.87 MB / 394.7 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.004684/0.2873, allocations: 3.072 MB / 0.5759 GB, free: 11.67 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002909/0.2902, allocations: 1.57 MB / 0.5775 GB, free: 9.977 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001465/0.2917, allocations: 0.758 MB / 0.5782 GB, free: 9.215 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001053/0.2918, allocations: 16.97 kB / 0.5782 GB, free: 9.199 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.2918, allocations: 39.56 kB / 0.5783 GB, free: 9.148 MB / 394.7 MB Notification: Performance of pre-optimization done (n=92): time 2.104e-06/0.2918, allocations: 0 / 0.5783 GB, free: 9.148 MB / 394.7 MB Notification: Performance of matching and sorting (n=92): time 0.03086/0.3227, allocations: 7.472 MB / 0.5856 GB, free: 1.645 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.3227, allocations: 60.41 kB / 0.5856 GB, free: 1.574 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.3238, allocations: 0.8474 MB / 0.5865 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.38e-05/0.3239, allocations: 45.69 kB / 0.5865 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002933/0.3242, allocations: 448.5 kB / 0.5869 GB, free: 212 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002924/0.3245, allocations: 335.2 kB / 0.5872 GB, free: 15.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003634/0.3248, allocations: 198.8 kB / 0.5874 GB, free: 15.67 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.325, allocations: 349.9 kB / 0.5878 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001491/0.3264, allocations: 0.6936 MB / 0.5884 GB, free: 14.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001598/0.3281, allocations: 0.8181 MB / 0.5892 GB, free: 13.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002995/0.3311, allocations: 1.497 MB / 0.5907 GB, free: 12.26 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.3311, allocations: 0 / 0.5907 GB, free: 12.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.0144/0.3455, allocations: 4.355 MB / 0.595 GB, free: 7.891 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.3455, allocations: 8 kB / 0.595 GB, free: 7.883 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.3455, allocations: 0 / 0.595 GB, free: 7.883 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006608/0.3522, allocations: 1.904 MB / 0.5968 GB, free: 5.973 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008461/0.353, allocations: 175.7 kB / 0.597 GB, free: 5.801 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02213/0.3751, allocations: 9.186 MB / 0.606 GB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/0.3765, allocations: 159 kB / 0.6061 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.576e-05/0.3766, allocations: 36 kB / 0.6062 GB, free: 12.28 MB / 426.7 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.0003588/0.377, allocations: 233.6 kB / 0.6064 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001747/0.3772, allocations: 106.7 kB / 0.6065 GB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01371/0.3909, allocations: 4.061 MB / 0.6104 GB, free: 7.863 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/0.391, allocations: 8 kB / 0.6105 GB, free: 7.855 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.391, allocations: 0 / 0.6105 GB, free: 7.855 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-05/0.391, allocations: 7.969 kB / 0.6105 GB, free: 7.848 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01538/0.4064, allocations: 5.633 MB / 0.616 GB, free: 2.074 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/0.4064, allocations: 3.984 kB / 0.616 GB, free: 2.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000523/0.407, allocations: 91.89 kB / 0.6161 GB, free: 1.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00617/0.4131, allocations: 1.831 MB / 0.6178 GB, free: 148 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001464/0.4133, allocations: 16 kB / 0.6179 GB, free: 132 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01905/0.4324, allocations: 7.877 MB / 0.6255 GB, free: 8.113 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.4324, allocations: 3.938 kB / 0.6256 GB, free: 8.109 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0944/0.5268, allocations: 32.8 MB / 0.6576 GB, free: 6.969 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002355/0.5271, allocations: 199.6 kB / 0.6578 GB, free: 6.754 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.5272, allocations: 19.94 kB / 0.6578 GB, free: 6.734 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.5283, allocations: 95.89 kB / 0.6579 GB, free: 6.641 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006046/0.5289, allocations: 200.6 kB / 0.6581 GB, free: 6.441 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.046e-05/0.529, allocations: 20 kB / 0.6581 GB, free: 6.422 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006219/0.5296, allocations: 0.5667 MB / 0.6586 GB, free: 5.844 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5296, allocations: 3.938 kB / 0.6586 GB, free: 5.84 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001378/0.531, allocations: 0.5973 MB / 0.6592 GB, free: 5.242 MB / 474.7 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.0002237/0.5312, allocations: 127.2 kB / 0.6594 GB, free: 5.109 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00642/0.5376, allocations: 2.402 MB / 0.6617 GB, free: 2.699 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5377, allocations: 0 / 0.6617 GB, free: 2.699 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004674/0.5423, allocations: 1.54 MB / 0.6632 GB, free: 1.148 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005797/0.5429, allocations: 82.11 kB / 0.6633 GB, free: 1.07 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00686/0.5498, allocations: 3.702 MB / 0.6669 GB, free: 13.31 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005469/0.5504, allocations: 1.096 MB / 0.668 GB, free: 12.18 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003135/0.5507, allocations: 86.77 kB / 0.668 GB, free: 12.09 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002133/0.5509, allocations: 59.42 kB / 0.6681 GB, free: 12.03 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5509, allocations: 0 / 0.6681 GB, free: 12.03 MB / 490.7 MB Notification: Performance of Templates: time 0.2414/0.7923, allocations: 32.11 MB / 0.6995 GB, free: 108.4 MB / 490.7 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 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)