Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_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_release_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.001632/0.001632, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 221.5 MB / 229.6 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008152/0.0008152, allocations: 99.27 kB / 280.5 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4675/0.4675, allocations: 78.12 MB / 409.4 MB, free: 6.512 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.489e-05/1.493e-05, allocations: 3.938 kB / 485 MB, free: 12.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1456, allocations: 69.36 MB / 0.5413 GB, free: 6.957 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3917/0.5374, allocations: 96.39 MB / 0.6355 GB, free: 3.363 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/0.5377, allocations: 90.03 kB / 0.6355 GB, free: 3.277 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06588/0.6036, allocations: 24.25 MB / 0.6592 GB, free: 11.07 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6036, allocations: 0 / 0.6592 GB, free: 11.07 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.567e-05/0.6037, allocations: 16 kB / 0.6592 GB, free: 11.05 MB / 474.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.004421/0.6081, allocations: 1.667 MB / 0.6609 GB, free: 9.34 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.6082, allocations: 12.03 kB / 0.6609 GB, free: 9.328 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003339/0.6115, allocations: 0.541 MB / 0.6614 GB, free: 8.785 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001544/0.6131, allocations: 0.6953 MB / 0.6621 GB, free: 8.051 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002824/0.6134, allocations: 236.1 kB / 0.6623 GB, free: 7.781 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.6135, allocations: 43.91 kB / 0.6624 GB, free: 7.738 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001484/0.615, allocations: 0.8057 MB / 0.6631 GB, free: 6.934 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.6164, allocations: 0.8056 MB / 0.6639 GB, free: 6.117 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.6164, allocations: 4 kB / 0.6639 GB, free: 6.113 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.038e-05/0.6165, allocations: 0 / 0.6639 GB, free: 6.113 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.6165, allocations: 19.94 kB / 0.6639 GB, free: 6.094 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005037/0.6216, allocations: 2.953 MB / 0.6668 GB, free: 3.023 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00217/0.6238, allocations: 1.397 MB / 0.6682 GB, free: 1.504 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007937/0.6246, allocations: 0.5545 MB / 0.6687 GB, free: 0.9453 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/0.6247, allocations: 16.77 kB / 0.6688 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.6248, allocations: 51.33 kB / 0.6688 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of pre-optimization done (n=92): time 2.695e-06/0.6248, allocations: 0 / 0.6688 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of matching and sorting (n=92): time 0.01318/0.638, allocations: 4.142 MB / 0.6728 GB, free: 12.71 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.638, allocations: 68.17 kB / 0.6729 GB, free: 12.63 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/0.6391, allocations: 0.6471 MB / 0.6735 GB, free: 11.96 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001984/0.6393, allocations: 25.7 kB / 0.6736 GB, free: 11.93 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003376/0.6396, allocations: 464.3 kB / 0.674 GB, free: 11.47 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003234/0.64, allocations: 315.2 kB / 0.6743 GB, free: 11.16 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.486e-05/0.64, allocations: 0 / 0.6743 GB, free: 11.16 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.6402, allocations: 338 kB / 0.6746 GB, free: 10.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000701/0.6409, allocations: 430.6 kB / 0.675 GB, free: 10.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007355/0.6416, allocations: 0.519 MB / 0.6756 GB, free: 9.855 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007405/0.6424, allocations: 475 kB / 0.676 GB, free: 9.395 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.411e-06/0.6424, allocations: 3.938 kB / 0.676 GB, free: 9.391 MB / 490.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01377/0.6562, allocations: 4.277 MB / 0.6802 GB, free: 5.098 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.065e-05/0.6563, allocations: 5.25 kB / 0.6802 GB, free: 5.094 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.6563, allocations: 4 kB / 0.6802 GB, free: 5.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005902/0.6622, allocations: 1.753 MB / 0.6819 GB, free: 3.332 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006722/0.6629, allocations: 119.8 kB / 0.682 GB, free: 3.215 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01535/0.6783, allocations: 7.471 MB / 0.6893 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/0.6798, allocations: 163.8 kB / 0.6895 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.701e-05/0.6799, allocations: 28 kB / 0.6895 GB, free: 11.43 MB / 0.4948 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * 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.0002246/0.6801, allocations: 125.4 kB / 0.6896 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002123/0.6803, allocations: 110.6 kB / 0.6897 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01286/0.6932, allocations: 4.244 MB / 0.6939 GB, free: 6.93 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.39e-05/0.6933, allocations: 12 kB / 0.6939 GB, free: 6.918 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.6933, allocations: 3.953 kB / 0.6939 GB, free: 6.914 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.998e-05/0.6933, allocations: 4.922 kB / 0.6939 GB, free: 6.91 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01431/0.7077, allocations: 5.724 MB / 0.6995 GB, free: 1.062 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/0.7077, allocations: 0 / 0.6995 GB, free: 1.062 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006185/0.7083, allocations: 95.89 kB / 0.6996 GB, free: 0.9688 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005106/0.7135, allocations: 1.722 MB / 0.7013 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001495/0.7136, allocations: 8 kB / 0.7013 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01261/0.7262, allocations: 6.547 MB / 0.7077 GB, free: 8.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.7263, allocations: 4 kB / 0.7077 GB, free: 8.566 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01368/0.74, allocations: 4.981 MB / 0.7125 GB, free: 3.562 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004118/0.7404, allocations: 195.5 kB / 0.7127 GB, free: 3.352 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001526/0.7406, allocations: 9.578 kB / 0.7127 GB, free: 3.344 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/0.7416, allocations: 111.9 kB / 0.7128 GB, free: 3.234 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005671/0.7422, allocations: 208.3 kB / 0.713 GB, free: 3.031 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.849e-05/0.7423, allocations: 20 kB / 0.713 GB, free: 3.012 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006518/0.743, allocations: 0.4962 MB / 0.7135 GB, free: 2.504 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.61e-07/0.743, allocations: 0 / 0.7135 GB, free: 2.504 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00116/0.7441, allocations: 391.5 kB / 0.7139 GB, free: 2.121 MB / 0.5105 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 () * 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 (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.0002653/0.7444, allocations: 135.1 kB / 0.714 GB, free: 1.98 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005034/0.7494, allocations: 1.96 MB / 0.7159 GB, free: 8 kB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.7495, allocations: 0 / 0.7159 GB, free: 8 kB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004064/0.7535, allocations: 1.457 MB / 0.7174 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006183/0.7542, allocations: 51.44 kB / 0.7174 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002561/0.7567, allocations: 1.483 MB / 0.7189 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000552/0.7573, allocations: 1.08 MB / 0.7199 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002803/0.7576, allocations: 65.58 kB / 0.72 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/0.7578, allocations: 48.47 kB / 0.72 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of SimCode: time 6.61e-07/0.7578, allocations: 0 / 0.72 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of Templates: time 0.02719/0.785, allocations: 18.75 MB / 0.7383 GB, free: 9.176 MB / 0.5417 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)