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.004581/0.004581, allocations: 170.9 kB / 15.11 MB, free: 5.973 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.207/1.207, allocations: 223.2 MB / 239 MB, free: 36 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008291/0.0008292, allocations: 94.23 kB / 290.2 MB, free: 4.492 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4326/0.4326, allocations: 78.58 MB / 419.9 MB, free: 36.54 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.0003331, allocations: 16 kB / 499.8 MB, free: 7.207 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1189, allocations: 69.36 MB / 0.5558 GB, free: 1.785 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3084/0.4273, allocations: 97.12 MB / 0.6506 GB, free: 5.031 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002095/0.4276, allocations: 88.34 kB / 0.6507 GB, free: 4.984 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0611/0.4887, allocations: 24.65 MB / 0.6748 GB, free: 12.91 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4887, allocations: 0 / 0.6748 GB, free: 12.91 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.134e-05/0.4888, allocations: 16 kB / 0.6748 GB, free: 12.89 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.005524/0.4943, allocations: 1.872 MB / 0.6766 GB, free: 10.97 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.4944, allocations: 13.44 kB / 0.6766 GB, free: 10.96 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003287/0.4977, allocations: 0.5448 MB / 0.6772 GB, free: 10.41 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001659/0.4994, allocations: 0.7107 MB / 0.6779 GB, free: 9.656 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002876/0.4997, allocations: 256.2 kB / 0.6781 GB, free: 9.371 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002621/0.5, allocations: 71.95 kB / 0.6782 GB, free: 9.301 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002423/0.5024, allocations: 1.153 MB / 0.6793 GB, free: 8.133 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.5024, allocations: 0 / 0.6793 GB, free: 8.133 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.683e-05/0.5025, allocations: 24 kB / 0.6793 GB, free: 8.109 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/0.5026, allocations: 16 kB / 0.6793 GB, free: 8.094 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002291/0.5048, allocations: 1.12 MB / 0.6804 GB, free: 6.973 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005605/0.5105, allocations: 3.065 MB / 0.6834 GB, free: 3.77 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003154/0.5136, allocations: 1.715 MB / 0.6851 GB, free: 1.938 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001136/0.5138, allocations: 15.61 kB / 0.6851 GB, free: 1.926 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.5138, allocations: 53.06 kB / 0.6852 GB, free: 1.867 MB / 474.7 MB Notification: Performance of pre-optimization done (n=92): time 3.427e-06/0.5138, allocations: 0 / 0.6852 GB, free: 1.867 MB / 474.7 MB Notification: Performance of matching and sorting (n=92): time 0.02971/0.5435, allocations: 8.876 MB / 0.6938 GB, free: 8.949 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.5436, allocations: 60.41 kB / 0.6939 GB, free: 8.879 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/0.545, allocations: 0.7101 MB / 0.6946 GB, free: 8.148 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002065/0.5452, allocations: 41.7 kB / 0.6946 GB, free: 8.102 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004025/0.5456, allocations: 456.3 kB / 0.6951 GB, free: 7.648 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005334/0.5462, allocations: 327.1 kB / 0.6954 GB, free: 7.324 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.653e-05/0.5463, allocations: 20 kB / 0.6954 GB, free: 7.305 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.5465, allocations: 337.9 kB / 0.6957 GB, free: 6.969 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001538/0.548, allocations: 0.6696 MB / 0.6964 GB, free: 6.297 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/0.5495, allocations: 0.7718 MB / 0.6971 GB, free: 5.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001493/0.551, allocations: 0.7058 MB / 0.6978 GB, free: 4.797 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/0.551, allocations: 3.938 kB / 0.6978 GB, free: 4.793 MB / 490.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01438/0.5654, allocations: 5.039 MB / 0.7027 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.157e-05/0.5655, allocations: 4 kB / 0.7027 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.5655, allocations: 7.938 kB / 0.7028 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006867/0.5724, allocations: 2.229 MB / 0.7049 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006721/0.5731, allocations: 119.8 kB / 0.705 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02363/0.5967, allocations: 10.76 MB / 0.7156 GB, free: 2.488 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/0.5982, allocations: 179.2 kB / 0.7157 GB, free: 2.312 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.805e-05/0.5983, allocations: 28 kB / 0.7157 GB, free: 2.285 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 () * Number of clocked 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.0004868/0.5988, allocations: 217.7 kB / 0.716 GB, free: 2.062 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001909/0.599, allocations: 106.7 kB / 0.7161 GB, free: 1.957 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01428/0.6133, allocations: 5.022 MB / 0.721 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.637e-05/0.6133, allocations: 12 kB / 0.721 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.6133, allocations: 5.688 kB / 0.721 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.241e-05/0.6134, allocations: 3.984 kB / 0.721 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01616/0.6295, allocations: 6.585 MB / 0.7274 GB, free: 6.172 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/0.6296, allocations: 0 / 0.7274 GB, free: 6.172 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005997/0.6302, allocations: 95.83 kB / 0.7275 GB, free: 6.078 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006303/0.6365, allocations: 2.168 MB / 0.7296 GB, free: 3.906 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001332/0.6367, allocations: 16 kB / 0.7296 GB, free: 3.891 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01974/0.6564, allocations: 9.298 MB / 0.7387 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.6564, allocations: 7.953 kB / 0.7387 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01617/0.6726, allocations: 5.972 MB / 0.7446 GB, free: 4.457 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003887/0.673, allocations: 199.6 kB / 0.7447 GB, free: 4.242 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/0.6732, allocations: 23.95 kB / 0.7448 GB, free: 4.219 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/0.6742, allocations: 131.9 kB / 0.7449 GB, free: 4.09 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005813/0.6748, allocations: 192.6 kB / 0.7451 GB, free: 3.902 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.098e-05/0.6749, allocations: 27.98 kB / 0.7451 GB, free: 3.875 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007196/0.6756, allocations: 0.5589 MB / 0.7457 GB, free: 3.305 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6756, allocations: 0 / 0.7457 GB, free: 3.305 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001057/0.6767, allocations: 419.5 kB / 0.7461 GB, free: 2.895 MB / 0.5261 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 () * 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 (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.0002529/0.6769, allocations: 161.3 kB / 0.7462 GB, free: 2.73 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006054/0.683, allocations: 2.526 MB / 0.7487 GB, free: 200 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.683, allocations: 0 / 0.7487 GB, free: 200 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004514/0.6875, allocations: 1.77 MB / 0.7504 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004472/0.688, allocations: 66.53 kB / 0.7505 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003159/0.6912, allocations: 2.368 MB / 0.7528 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005637/0.6917, allocations: 1.084 MB / 0.7538 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002719/0.692, allocations: 69.66 kB / 0.7539 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/0.6922, allocations: 43.44 kB / 0.7539 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of SimCode: time 3.91e-07/0.6922, allocations: 0 / 0.7539 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of Templates: time 0.0277/0.7199, allocations: 20.19 MB / 0.7737 GB, free: 6.598 MB / 0.5573 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)