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.001011/0.001011, allocations: 183.1 kB / 8.351 MB, free: 0.7031 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.279/1.279, allocations: 194.3 MB / 203.1 MB, free: 9.262 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001668/0.001668, allocations: 121 kB / 248.1 MB, free: 6.336 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.878e-05/1.879e-05, allocations: 4 kB / 298.1 MB, free: 8.238 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1155, allocations: 44.5 MB / 342.6 MB, free: 11.63 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3039/0.4195, allocations: 76.91 MB / 419.5 MB, free: 18.89 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001862/0.4197, allocations: 67.28 kB / 419.6 MB, free: 18.86 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04346/0.4632, allocations: 27.86 MB / 447.4 MB, free: 12.63 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4633, allocations: 4 kB / 447.4 MB, free: 12.63 MB / 331.1 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.4633, allocations: 4 kB / 447.4 MB, free: 12.62 MB / 331.1 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.0005598/0.4639, allocations: 0.6149 MB / 448 MB, free: 11.96 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.4639, allocations: 8.031 kB / 448 MB, free: 11.95 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.381e-05/0.464, allocations: 39.53 kB / 448.1 MB, free: 11.91 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003229/0.4643, allocations: 262.3 kB / 448.3 MB, free: 11.63 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.4643, allocations: 4 kB / 448.3 MB, free: 11.62 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.19e-05/0.4644, allocations: 8 kB / 448.3 MB, free: 11.62 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001452/0.4645, allocations: 54.92 kB / 448.4 MB, free: 11.58 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002086/0.4647, allocations: 148.5 kB / 448.5 MB, free: 11.45 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.4648, allocations: 0 / 448.5 MB, free: 11.45 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.665e-05/0.4648, allocations: 3.938 kB / 448.5 MB, free: 11.44 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.4648, allocations: 4 kB / 448.6 MB, free: 11.44 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006201/0.4654, allocations: 445.9 kB / 449 MB, free: 11.02 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.4656, allocations: 105.4 kB / 449.1 MB, free: 10.94 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.4657, allocations: 87.39 kB / 449.2 MB, free: 10.88 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.722e-06/0.4657, allocations: 0 / 449.2 MB, free: 10.88 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002652/0.466, allocations: 217.7 kB / 449.4 MB, free: 10.66 MB / 331.1 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.466, allocations: 0.9375 kB / 449.4 MB, free: 10.66 MB / 331.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005308/0.4665, allocations: 307.5 kB / 449.7 MB, free: 10.4 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.698e-05/0.4666, allocations: 169.7 kB / 449.9 MB, free: 10.2 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005007/0.4672, allocations: 453.4 kB / 450.3 MB, free: 9.828 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 3.561e-05/0.4672, allocations: 32.7 kB / 450.3 MB, free: 9.793 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.86e-05/0.4673, allocations: 103.2 kB / 450.4 MB, free: 9.699 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.167e-05/0.4673, allocations: 22.97 kB / 450.5 MB, free: 9.68 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.352e-05/0.4674, allocations: 4 kB / 450.5 MB, free: 9.676 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.4675, allocations: 329.9 kB / 450.8 MB, free: 9.352 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.609e-05/0.4676, allocations: 60.34 kB / 450.8 MB, free: 9.309 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.472e-05/0.4677, allocations: 57.27 kB / 450.9 MB, free: 9.273 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.172e-05/0.4678, allocations: 56.02 kB / 450.9 MB, free: 9.234 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4678, allocations: 0 / 450.9 MB, free: 9.234 MB / 331.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004722/0.4683, allocations: 289.3 kB / 451.2 MB, free: 8.992 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.75e-05/0.4684, allocations: 127.7 kB / 451.4 MB, free: 8.848 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.4684, allocations: 0 / 451.4 MB, free: 8.848 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.4684, allocations: 0 / 451.4 MB, free: 8.848 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.962e-05/0.4684, allocations: 8.047 kB / 451.4 MB, free: 8.84 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.4684, allocations: 160 / 451.4 MB, free: 8.84 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.4686, allocations: 15.69 kB / 451.4 MB, free: 8.828 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/0.4687, allocations: 127.8 kB / 451.5 MB, free: 8.703 MB / 331.1 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.0001794/0.4689, allocations: 250.3 kB / 451.7 MB, free: 8.434 MB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.863e-05/0.469, allocations: 35.62 kB / 451.8 MB, free: 8.398 MB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.947e-05/0.4691, allocations: 69.58 kB / 451.9 MB, free: 8.336 MB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.4691, allocations: 0 / 451.9 MB, free: 8.336 MB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.4691, allocations: 0 / 451.9 MB, free: 8.336 MB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.4691, allocations: 3.984 kB / 451.9 MB, free: 8.332 MB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007578/0.4699, allocations: 0.6838 MB / 452.5 MB, free: 7.699 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.4699, allocations: 4 kB / 452.5 MB, free: 7.695 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.448e-06/0.4699, allocations: 0 / 452.5 MB, free: 7.695 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.4699, allocations: 4 kB / 452.5 MB, free: 7.691 MB / 331.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.077e-05/0.47, allocations: 15.98 kB / 452.6 MB, free: 7.676 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.47, allocations: 4 kB / 452.6 MB, free: 7.672 MB / 331.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.47, allocations: 0.6562 kB / 452.6 MB, free: 7.672 MB / 331.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005235/0.4705, allocations: 435.8 kB / 453 MB, free: 7.285 MB / 331.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002941/0.4708, allocations: 259.4 kB / 453.2 MB, free: 7.055 MB / 331.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.358e-05/0.4709, allocations: 19.92 kB / 453.3 MB, free: 7.039 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.471, allocations: 8 kB / 453.3 MB, free: 7.031 MB / 331.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.4712, allocations: 42.89 kB / 453.3 MB, free: 6.996 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/0.4713, allocations: 111.9 kB / 453.4 MB, free: 6.887 MB / 331.1 MB Notification: Performance of sorting global known variables: time 0.0003844/0.4717, allocations: 376.1 kB / 453.8 MB, free: 6.582 MB / 331.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4717, allocations: 0 / 453.8 MB, free: 6.582 MB / 331.1 MB Notification: Performance of remove unused functions: time 0.0002762/0.472, allocations: 40 kB / 453.8 MB, free: 6.543 MB / 331.1 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.0001573/0.4721, allocations: 121.6 kB / 454 MB, free: 6.422 MB / 331.1 MB Notification: Performance of simCode: created initialization part: time 0.0004569/0.4726, allocations: 425.9 kB / 454.4 MB, free: 6.047 MB / 331.1 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.4726, allocations: 0 / 454.4 MB, free: 6.047 MB / 331.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002523/0.4729, allocations: 385.3 kB / 454.7 MB, free: 5.699 MB / 331.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005146/0.4734, allocations: 96.56 kB / 454.8 MB, free: 5.621 MB / 331.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008566/0.4743, allocations: 0.5255 MB / 455.4 MB, free: 5.129 MB / 331.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004169/0.4747, allocations: 0.815 MB / 456.2 MB, free: 4.301 MB / 331.1 MB Notification: Performance of simCode: alias equations: time 4.314e-05/0.4747, allocations: 13.41 kB / 456.2 MB, free: 4.289 MB / 331.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.985e-05/0.4748, allocations: 11.44 kB / 456.2 MB, free: 4.277 MB / 331.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4748, allocations: 0 / 456.2 MB, free: 4.277 MB / 331.1 MB Notification: Performance of Templates: time 0.009031/0.4838, allocations: 5.591 MB / 461.8 MB, free: 14.64 MB / 347.1 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)