Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009786/0.0009787, allocations: 176.2 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.349/1.349, allocations: 205.3 MB / 213.4 MB, free: 13.77 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007958/0.0007959, allocations: 87.53 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06622/0.06622, allocations: 12.6 MB / 321.9 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2885/0.2885, allocations: 78.05 MB / 450.8 MB, free: 3.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.241e-05/1.203e-05, allocations: 0 / 0.5147 GB, free: 29.57 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1214, allocations: 69.32 MB / 0.5824 GB, free: 8.363 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3939/0.5153, allocations: 97.95 MB / 0.6781 GB, free: 9.484 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002045/0.5156, allocations: 80.98 kB / 0.6781 GB, free: 9.473 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05798/0.5735, allocations: 23.48 MB / 0.7011 GB, free: 6.633 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.5736, allocations: 0 / 0.7011 GB, free: 6.633 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.195e-05/0.5737, allocations: 16 kB / 0.7011 GB, free: 6.617 MB / 442.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.005124/0.5788, allocations: 1.67 MB / 0.7027 GB, free: 5.016 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.5788, allocations: 12.03 kB / 0.7027 GB, free: 5.004 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003483/0.5823, allocations: 0.5414 MB / 0.7032 GB, free: 4.512 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/0.5838, allocations: 0.7015 MB / 0.7039 GB, free: 3.906 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000283/0.5841, allocations: 228.2 kB / 0.7041 GB, free: 3.645 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002264/0.5844, allocations: 40 kB / 0.7042 GB, free: 3.605 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001521/0.5859, allocations: 0.8035 MB / 0.705 GB, free: 3.121 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.5873, allocations: 0.8161 MB / 0.7058 GB, free: 2.562 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.5874, allocations: 0 / 0.7058 GB, free: 2.562 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.864e-05/0.5875, allocations: 0 / 0.7058 GB, free: 2.562 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-05/0.5875, allocations: 16 kB / 0.7058 GB, free: 2.547 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005031/0.5925, allocations: 2.958 MB / 0.7087 GB, free: 240 kB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002246/0.5948, allocations: 1.395 MB / 0.71 GB, free: 15.05 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007522/0.5955, allocations: 0.5642 MB / 0.7106 GB, free: 14.75 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001041/0.5957, allocations: 12.78 kB / 0.7106 GB, free: 14.74 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.5957, allocations: 47.22 kB / 0.7106 GB, free: 14.69 MB / 458.7 MB Notification: Performance of pre-optimization done (n=92): time 2.715e-06/0.5957, allocations: 0 / 0.7106 GB, free: 14.69 MB / 458.7 MB Notification: Performance of matching and sorting (n=92): time 0.01252/0.6082, allocations: 4.149 MB / 0.7147 GB, free: 11.07 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.6083, allocations: 64.84 kB / 0.7148 GB, free: 11 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009703/0.6093, allocations: 0.6451 MB / 0.7154 GB, free: 10.5 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001267/0.6094, allocations: 25.7 kB / 0.7154 GB, free: 10.47 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003077/0.6097, allocations: 459.3 kB / 0.7158 GB, free: 10.21 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003538/0.6101, allocations: 312.3 kB / 0.7161 GB, free: 9.934 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.897e-05/0.6102, allocations: 0 / 0.7161 GB, free: 9.934 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.6103, allocations: 345.9 kB / 0.7165 GB, free: 9.605 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006582/0.611, allocations: 430 kB / 0.7169 GB, free: 9.387 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006975/0.6117, allocations: 0.524 MB / 0.7174 GB, free: 9.051 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006852/0.6124, allocations: 474.1 kB / 0.7179 GB, free: 8.793 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.6124, allocations: 0 / 0.7179 GB, free: 8.793 MB / 458.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01345/0.6258, allocations: 4.28 MB / 0.722 GB, free: 5.07 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.6259, allocations: 4 kB / 0.722 GB, free: 5.066 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.6259, allocations: 4 kB / 0.722 GB, free: 5.062 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005612/0.6316, allocations: 1.748 MB / 0.7237 GB, free: 3.547 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006563/0.6322, allocations: 123.3 kB / 0.7239 GB, free: 3.434 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01516/0.6474, allocations: 7.484 MB / 0.7312 GB, free: 14.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/0.6489, allocations: 163.1 kB / 0.7313 GB, free: 13.93 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001685/0.6491, allocations: 27.98 kB / 0.7314 GB, free: 13.9 MB / 474.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.0002595/0.6494, allocations: 120.9 kB / 0.7315 GB, free: 13.78 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002968/0.6497, allocations: 106.7 kB / 0.7316 GB, free: 13.67 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01294/0.6626, allocations: 4.247 MB / 0.7357 GB, free: 9.414 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/0.6627, allocations: 12 kB / 0.7357 GB, free: 9.402 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.6627, allocations: 0 / 0.7357 GB, free: 9.402 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.576e-05/0.6627, allocations: 3.984 kB / 0.7357 GB, free: 9.398 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01559/0.6783, allocations: 5.728 MB / 0.7413 GB, free: 3.543 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.958e-05/0.6784, allocations: 3.984 kB / 0.7413 GB, free: 3.539 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006659/0.679, allocations: 95.84 kB / 0.7414 GB, free: 3.445 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005572/0.6846, allocations: 1.718 MB / 0.7431 GB, free: 1.723 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000265/0.6849, allocations: 12 kB / 0.7431 GB, free: 1.711 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01415/0.6991, allocations: 6.539 MB / 0.7495 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/0.6992, allocations: 7.953 kB / 0.7495 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01481/0.714, allocations: 4.98 MB / 0.7544 GB, free: 6.043 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004576/0.7145, allocations: 199.6 kB / 0.7546 GB, free: 5.828 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003901/0.7149, allocations: 7.891 kB / 0.7546 GB, free: 5.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/0.7162, allocations: 119.9 kB / 0.7547 GB, free: 5.703 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006682/0.7168, allocations: 196.4 kB / 0.7549 GB, free: 5.508 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/0.717, allocations: 20 kB / 0.7549 GB, free: 5.488 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009177/0.7179, allocations: 0.5001 MB / 0.7554 GB, free: 4.977 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7179, allocations: 0 / 0.7554 GB, free: 4.977 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001684/0.7196, allocations: 387.5 kB / 0.7557 GB, free: 4.598 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.0003379/0.72, allocations: 127 kB / 0.7559 GB, free: 4.461 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005448/0.7254, allocations: 1.968 MB / 0.7578 GB, free: 2.484 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.7255, allocations: 0 / 0.7578 GB, free: 2.484 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004403/0.7299, allocations: 1.454 MB / 0.7592 GB, free: 1.02 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009501/0.7309, allocations: 51.44 kB / 0.7593 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00322/0.7341, allocations: 1.473 MB / 0.7607 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006551/0.7348, allocations: 1.08 MB / 0.7618 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00033/0.7351, allocations: 61.58 kB / 0.7618 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001862/0.7353, allocations: 47.44 kB / 0.7619 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of SimCode: time 2.013e-06/0.7353, allocations: 0 / 0.7619 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of Templates: time 0.0315/0.7668, allocations: 18.76 MB / 0.7802 GB, free: 11.5 MB / 0.5105 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)