Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Digital.Examples.INV3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.INV3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.005475/0.005475, allocations: 165.5 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.259/1.259, allocations: 170.8 MB / 186.6 MB, free: 1.141 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001714/0.001713, allocations: 119.3 kB / 226.2 MB, free: 10.12 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000378/0.000378, allocations: 8 kB / 274.1 MB, free: 10.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2636, allocations: 38.76 MB / 312.9 MB, free: 38.72 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0998/0.3635, allocations: 72.34 MB / 385.2 MB, free: 2.207 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/0.3638, allocations: 67.97 kB / 385.3 MB, free: 2.141 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05437/0.4182, allocations: 28.29 MB / 413.6 MB, free: 5.926 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.4183, allocations: 4 kB / 413.6 MB, free: 5.922 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.4183, allocations: 4 kB / 413.6 MB, free: 5.918 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000753/0.419, allocations: 0.6684 MB / 414.3 MB, free: 5.176 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.4191, allocations: 8.031 kB / 414.3 MB, free: 5.168 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.876e-05/0.4192, allocations: 35.53 kB / 414.3 MB, free: 5.133 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003851/0.4196, allocations: 261.5 kB / 414.6 MB, free: 4.836 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.4196, allocations: 8 kB / 414.6 MB, free: 4.828 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.89e-05/0.4197, allocations: 15.94 kB / 414.6 MB, free: 4.812 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003393/0.42, allocations: 153.5 kB / 414.7 MB, free: 4.656 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.42, allocations: 3.953 kB / 414.7 MB, free: 4.652 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.075e-05/0.4201, allocations: 4 kB / 414.7 MB, free: 4.648 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.4201, allocations: 0 / 414.7 MB, free: 4.648 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/0.4202, allocations: 67.95 kB / 414.8 MB, free: 4.582 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009618/0.4212, allocations: 472.6 kB / 415.3 MB, free: 4.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.4215, allocations: 106.5 kB / 415.4 MB, free: 3.957 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.4215, allocations: 0 / 415.4 MB, free: 3.957 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004129/0.4219, allocations: 238.2 kB / 415.6 MB, free: 3.703 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.4219, allocations: 0 / 415.6 MB, free: 3.703 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009608/0.4229, allocations: 0.6545 MB / 416.3 MB, free: 2.98 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.423, allocations: 170.2 kB / 416.4 MB, free: 2.777 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005842/0.4236, allocations: 464.4 kB / 416.9 MB, free: 2.316 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.97e-05/0.4237, allocations: 29.7 kB / 416.9 MB, free: 2.281 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.5e-05/0.4237, allocations: 105.1 kB / 417 MB, free: 2.176 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.702e-05/0.4238, allocations: 27.7 kB / 417 MB, free: 2.148 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.998e-05/0.4238, allocations: 7.938 kB / 417 MB, free: 2.141 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.424, allocations: 322.8 kB / 417.4 MB, free: 1.816 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.4241, allocations: 63.97 kB / 417.4 MB, free: 1.754 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.4243, allocations: 77.67 kB / 417.5 MB, free: 1.672 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.4245, allocations: 178.8 kB / 417.7 MB, free: 1.473 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4245, allocations: 0 / 417.7 MB, free: 1.473 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006208/0.4251, allocations: 412.2 kB / 418.1 MB, free: 1.039 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.965e-05/0.4252, allocations: 126.8 kB / 418.2 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4252, allocations: 0 / 418.2 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.4252, allocations: 0 / 418.2 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.394e-05/0.4253, allocations: 7.984 kB / 418.2 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.4253, allocations: 0 / 418.2 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.4254, allocations: 15.94 kB / 418.2 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/0.4256, allocations: 123.8 kB / 418.3 MB, free: 0.7461 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.iNV3S.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,$PRE.iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.t_next) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003666/0.4259, allocations: 358.3 kB / 418.7 MB, free: 368 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.263e-05/0.426, allocations: 43.56 kB / 418.7 MB, free: 324 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.745e-05/0.4261, allocations: 67.14 kB / 418.8 MB, free: 256 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.4261, allocations: 3.938 kB / 418.8 MB, free: 252 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4261, allocations: 3.984 kB / 418.8 MB, free: 248 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.4261, allocations: 0 / 418.8 MB, free: 248 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2113/0.6374, allocations: 0.8389 MB / 419.6 MB, free: 86.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.6375, allocations: 0 / 419.6 MB, free: 86.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.668e-05/0.6375, allocations: 1.391 kB / 419.6 MB, free: 86.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.896e-06/0.6375, allocations: 1.312 kB / 419.6 MB, free: 86.25 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.69e-05/0.6376, allocations: 21.8 kB / 419.7 MB, free: 86.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.6376, allocations: 0.75 kB / 419.7 MB, free: 86.25 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.6376, allocations: 0.7656 kB / 419.7 MB, free: 86.25 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.6386, allocations: 0.564 MB / 420.2 MB, free: 86 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004818/0.6391, allocations: 250.6 kB / 420.5 MB, free: 85.88 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.47e-05/0.6392, allocations: 11.19 kB / 420.5 MB, free: 85.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.6394, allocations: 17.69 kB / 420.5 MB, free: 85.88 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.6395, allocations: 33.86 kB / 420.5 MB, free: 85.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002317/0.6398, allocations: 118.8 kB / 420.7 MB, free: 85.88 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000537/0.6403, allocations: 394.5 kB / 421 MB, free: 85.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6403, allocations: 0 / 421 MB, free: 85.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003443/0.6407, allocations: 41.91 kB / 421.1 MB, free: 85.73 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,iNV3S.yy,iNV3S.nextstate,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,iNV3S.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001726/0.6408, allocations: 113.4 kB / 421.2 MB, free: 85.64 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000528/0.6414, allocations: 454.9 kB / 421.6 MB, free: 85.39 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6414, allocations: 1.375 kB / 421.6 MB, free: 85.39 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003099/0.6417, allocations: 389.9 kB / 422 MB, free: 85.14 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005211/0.6422, allocations: 94.75 kB / 422.1 MB, free: 85.14 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.6434, allocations: 0.7437 MB / 422.9 MB, free: 84.74 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/0.6438, allocations: 0.8121 MB / 423.7 MB, free: 84.02 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.392e-05/0.6439, allocations: 8 kB / 423.7 MB, free: 84.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.685e-05/0.6439, allocations: 11.03 kB / 423.7 MB, free: 84.01 MB / 314.7 MB Notification: Performance of SimCode: time 3.2e-07/0.6439, allocations: 1.469 kB / 423.7 MB, free: 84.01 MB / 314.7 MB Notification: Performance of Templates: time 0.009841/0.6538, allocations: 5.616 MB / 429.3 MB, free: 83.46 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.INV3S.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_3.2.1_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1)