Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Digital.Examples.INV3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.INV3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001176/0.001176, allocations: 182.2 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.447/1.447, allocations: 194.3 MB / 208.4 MB, free: 6.695 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001642/0.001642, allocations: 112.7 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.737e-05/2.746e-05, allocations: 0 / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0755/0.07554, allocations: 44.5 MB / 349.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3387/0.4143, allocations: 77.58 MB / 427 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001877/0.4145, allocations: 71.11 kB / 427.1 MB, free: 10.58 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04676/0.4613, allocations: 28.07 MB / 455.2 MB, free: 10.45 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.4614, allocations: 0 / 455.2 MB, free: 10.45 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.568e-05/0.4614, allocations: 4 kB / 455.2 MB, free: 10.45 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.0007888/0.4622, allocations: 0.6092 MB / 455.8 MB, free: 9.793 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.732e-05/0.4623, allocations: 12.03 kB / 455.8 MB, free: 9.781 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.175e-05/0.4624, allocations: 35.53 kB / 455.8 MB, free: 9.746 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004487/0.4628, allocations: 261 kB / 456.1 MB, free: 9.457 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.047e-05/0.4629, allocations: 7.984 kB / 456.1 MB, free: 9.449 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.449e-05/0.4629, allocations: 15.62 kB / 456.1 MB, free: 9.438 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004281/0.4633, allocations: 144.6 kB / 456.2 MB, free: 9.309 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.4634, allocations: 0 / 456.2 MB, free: 9.309 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.342e-05/0.4634, allocations: 4 kB / 456.2 MB, free: 9.305 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.4634, allocations: 0 / 456.2 MB, free: 9.305 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.4636, allocations: 63.34 kB / 456.3 MB, free: 9.258 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008176/0.4644, allocations: 494 kB / 456.8 MB, free: 8.785 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.4646, allocations: 96.81 kB / 456.9 MB, free: 8.711 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.4647, allocations: 87.58 kB / 457 MB, free: 8.652 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.4647, allocations: 4 kB / 457 MB, free: 8.648 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003241/0.4651, allocations: 225.7 kB / 457.2 MB, free: 8.426 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.4651, allocations: 3.938 kB / 457.2 MB, free: 8.422 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007461/0.4658, allocations: 433.8 kB / 457.6 MB, free: 8.02 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.466, allocations: 170.1 kB / 457.8 MB, free: 7.82 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005991/0.4666, allocations: 461.5 kB / 458.2 MB, free: 7.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.02e-05/0.4666, allocations: 30.89 kB / 458.3 MB, free: 7.395 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.437e-05/0.4667, allocations: 99.06 kB / 458.4 MB, free: 7.305 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.266e-05/0.4668, allocations: 32.16 kB / 458.4 MB, free: 7.277 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.956e-05/0.4668, allocations: 4 kB / 458.4 MB, free: 7.273 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.467, allocations: 327.6 kB / 458.7 MB, free: 6.949 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.4671, allocations: 66.58 kB / 458.8 MB, free: 6.902 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.4673, allocations: 67.61 kB / 458.8 MB, free: 6.855 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.4674, allocations: 174.4 kB / 459 MB, free: 6.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4675, allocations: 0 / 459 MB, free: 6.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005559/0.468, allocations: 406.7 kB / 459.4 MB, free: 6.305 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.929e-05/0.4681, allocations: 126.4 kB / 459.5 MB, free: 6.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.4681, allocations: 80 / 459.5 MB, free: 6.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.4681, allocations: 0 / 459.5 MB, free: 6.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.741e-05/0.4682, allocations: 3.375 kB / 459.5 MB, free: 6.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.4682, allocations: 11.92 kB / 459.5 MB, free: 6.148 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.4683, allocations: 15.98 kB / 459.6 MB, free: 6.133 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001395/0.4685, allocations: 111.9 kB / 459.7 MB, free: 6.023 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,$PRE.iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.x,$PRE.iNV3S.inertialDelaySensitive.y,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 () * 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.0002007/0.4687, allocations: 252.4 kB / 459.9 MB, free: 5.754 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.088e-05/0.4687, allocations: 39.56 kB / 460 MB, free: 5.715 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.4689, allocations: 65.09 kB / 460 MB, free: 5.664 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.4689, allocations: 3.984 kB / 460 MB, free: 5.66 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.4689, allocations: 4 kB / 460 MB, free: 5.656 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.4689, allocations: 0 / 460 MB, free: 5.656 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009961/0.4699, allocations: 0.84 MB / 460.9 MB, free: 4.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.4699, allocations: 4 kB / 460.9 MB, free: 4.836 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.538e-06/0.4699, allocations: 0 / 460.9 MB, free: 4.836 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.4699, allocations: 0 / 460.9 MB, free: 4.836 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.7e-05/0.47, allocations: 23.05 kB / 460.9 MB, free: 4.816 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.47, allocations: 0 / 460.9 MB, free: 4.816 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.47, allocations: 4 kB / 460.9 MB, free: 4.812 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006681/0.4706, allocations: 0.5523 MB / 461.5 MB, free: 4.281 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003427/0.471, allocations: 268.9 kB / 461.7 MB, free: 4.043 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.198e-05/0.4711, allocations: 11.25 kB / 461.7 MB, free: 4.035 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.4713, allocations: 8 kB / 461.7 MB, free: 4.027 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.4714, allocations: 35.33 kB / 461.8 MB, free: 4 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/0.4715, allocations: 119.8 kB / 461.9 MB, free: 3.883 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004709/0.472, allocations: 389.3 kB / 462.3 MB, free: 3.562 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.693e-06/0.472, allocations: 0 / 462.3 MB, free: 3.562 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002707/0.4723, allocations: 45.88 kB / 462.3 MB, free: 3.52 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) * 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.0001612/0.4724, allocations: 122.1 kB / 462.4 MB, free: 3.395 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005074/0.473, allocations: 442.3 kB / 462.9 MB, free: 3.004 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.473, allocations: 0 / 462.9 MB, free: 3.004 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003381/0.4733, allocations: 384.5 kB / 463.2 MB, free: 2.66 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005105/0.4738, allocations: 111.1 kB / 463.3 MB, free: 2.566 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008923/0.4747, allocations: 0.5336 MB / 463.9 MB, free: 2.059 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004712/0.4752, allocations: 0.8166 MB / 464.7 MB, free: 1.227 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.072e-05/0.4753, allocations: 5.219 kB / 464.7 MB, free: 1.219 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.951e-05/0.4753, allocations: 11.44 kB / 464.7 MB, free: 1.207 MB / 314.7 MB Notification: Performance of SimCode: time 4.31e-07/0.4753, allocations: 0 / 464.7 MB, free: 1.207 MB / 314.7 MB Notification: Performance of Templates: time 0.008493/0.4838, allocations: 5.749 MB / 470.5 MB, free: 11.4 MB / 330.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.INV3S.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_3.2.2_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1)