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.00118/0.00118, allocations: 174.6 kB / 12.73 MB, free: 2.59 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.276/1.276, allocations: 221.4 MB / 234.6 MB, free: 14.46 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.0008739/0.000874, allocations: 93.48 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5074/0.5074, allocations: 78.91 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.448e-05/2.451e-05, allocations: 4 kB / 492.8 MB, free: 13.12 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3516, allocations: 69.5 MB / 0.5491 GB, free: 19.54 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1176/0.4693, allocations: 97.64 MB / 0.6445 GB, free: 1.984 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002116/0.4695, allocations: 87.94 kB / 0.6446 GB, free: 1.898 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06282/0.5323, allocations: 24.84 MB / 0.6688 GB, free: 8.871 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.5324, allocations: 0 / 0.6688 GB, free: 8.871 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.724e-05/0.5324, allocations: 23.94 kB / 0.6688 GB, free: 8.848 MB / 490.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.004446/0.5369, allocations: 1.676 MB / 0.6705 GB, free: 7.125 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.5369, allocations: 11.97 kB / 0.6705 GB, free: 7.113 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003225/0.5402, allocations: 0.5448 MB / 0.671 GB, free: 6.566 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001566/0.5417, allocations: 0.6914 MB / 0.6717 GB, free: 5.828 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002912/0.542, allocations: 264.1 kB / 0.6719 GB, free: 5.535 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001508/0.5422, allocations: 75.86 kB / 0.672 GB, free: 5.461 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/0.5439, allocations: 0.9111 MB / 0.6729 GB, free: 4.535 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.5439, allocations: 3.938 kB / 0.6729 GB, free: 4.531 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-05/0.544, allocations: 24 kB / 0.6729 GB, free: 4.508 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.5441, allocations: 16 kB / 0.6729 GB, free: 4.492 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001497/0.5456, allocations: 0.8397 MB / 0.6738 GB, free: 3.652 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00507/0.5506, allocations: 3.064 MB / 0.6768 GB, free: 464 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3243/0.875, allocations: 1.427 MB / 0.6782 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001359/0.8764, allocations: 0.5882 MB / 0.6787 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001895/0.8766, allocations: 12.72 kB / 0.6787 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/0.8767, allocations: 52.12 kB / 0.6788 GB, free: 104.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=92): time 4.228e-06/0.8767, allocations: 0 / 0.6788 GB, free: 104.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.01621/0.8929, allocations: 4.217 MB / 0.6829 GB, free: 104.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.893, allocations: 61.72 kB / 0.683 GB, free: 104.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001622/0.8946, allocations: 0.6969 MB / 0.6836 GB, free: 104.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002619/0.8949, allocations: 39.23 kB / 0.6837 GB, free: 104.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004106/0.8953, allocations: 459.5 kB / 0.6841 GB, free: 104.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005734/0.8959, allocations: 328.5 kB / 0.6844 GB, free: 104.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.896, allocations: 17.75 kB / 0.6845 GB, free: 104.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.8962, allocations: 344.9 kB / 0.6848 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/0.8972, allocations: 448.7 kB / 0.6852 GB, free: 103.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000914/0.8981, allocations: 0.5407 MB / 0.6857 GB, free: 103.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008713/0.899, allocations: 483.7 kB / 0.6862 GB, free: 103.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/0.899, allocations: 0 / 0.6862 GB, free: 103.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01291/0.912, allocations: 4.356 MB / 0.6905 GB, free: 103.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.384e-05/0.9121, allocations: 7.734 kB / 0.6905 GB, free: 103.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.9121, allocations: 7.5 kB / 0.6905 GB, free: 103.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00584/0.9179, allocations: 1.81 MB / 0.6922 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007303/0.9187, allocations: 117.2 kB / 0.6923 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01605/0.9348, allocations: 7.71 MB / 0.6999 GB, free: 99.53 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/0.9363, allocations: 183.9 kB / 0.7 GB, free: 99.49 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001788/0.9365, allocations: 24.91 kB / 0.7001 GB, free: 99.48 MB / 490.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 () * 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.0002732/0.9367, allocations: 151.4 kB / 0.7002 GB, free: 99.35 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003/0.937, allocations: 109.7 kB / 0.7003 GB, free: 99.29 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01232/0.9494, allocations: 4.343 MB / 0.7046 GB, free: 97.88 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.038e-05/0.9494, allocations: 8 kB / 0.7046 GB, free: 97.87 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.9495, allocations: 0 / 0.7046 GB, free: 97.87 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-05/0.9495, allocations: 7.266 kB / 0.7046 GB, free: 97.87 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01493/0.9644, allocations: 5.902 MB / 0.7103 GB, free: 93.19 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.566e-05/0.9645, allocations: 0 / 0.7103 GB, free: 93.19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006432/0.9651, allocations: 95.7 kB / 0.7104 GB, free: 93.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005271/0.9704, allocations: 1.735 MB / 0.7121 GB, free: 91.72 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002657/0.9707, allocations: 20 kB / 0.7121 GB, free: 91.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0133/0.9841, allocations: 6.688 MB / 0.7187 GB, free: 85.59 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.9841, allocations: 4 kB / 0.7187 GB, free: 85.59 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01319/0.9973, allocations: 5.058 MB / 0.7236 GB, free: 81.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004488/0.9978, allocations: 196.7 kB / 0.7238 GB, free: 81.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003211/0.9981, allocations: 16 kB / 0.7238 GB, free: 81.19 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/0.9994, allocations: 138.3 kB / 0.724 GB, free: 81.08 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006377/1, allocations: 199.3 kB / 0.7241 GB, free: 80.97 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001182/1, allocations: 23.52 kB / 0.7242 GB, free: 80.95 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007294/1.001, allocations: 0.5461 MB / 0.7247 GB, free: 80.43 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/1.001, allocations: 0.875 kB / 0.7247 GB, free: 80.43 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001411/1.002, allocations: 427.3 kB / 0.7251 GB, free: 80.02 MB / 490.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 () * 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.0003033/1.003, allocations: 145.3 kB / 0.7252 GB, free: 79.88 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004865/1.008, allocations: 2.047 MB / 0.7272 GB, free: 77.91 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.008, allocations: 0 / 0.7272 GB, free: 77.91 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003933/1.011, allocations: 1.503 MB / 0.7287 GB, free: 76.41 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007177/1.012, allocations: 73.42 kB / 0.7288 GB, free: 76.34 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002778/1.015, allocations: 1.51 MB / 0.7303 GB, free: 74.83 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/1.015, allocations: 1.08 MB / 0.7313 GB, free: 73.72 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003185/1.016, allocations: 65.67 kB / 0.7314 GB, free: 73.66 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/1.016, allocations: 43.44 kB / 0.7314 GB, free: 73.61 MB / 490.7 MB Notification: Performance of SimCode: time 8.92e-07/1.016, allocations: 3.938 kB / 0.7314 GB, free: 73.61 MB / 490.7 MB Notification: Performance of Templates: time 0.02795/1.044, allocations: 20.16 MB / 0.7511 GB, free: 53.66 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)