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.001113/0.001113, allocations: 182.7 kB / 16.39 MB, free: 5.762 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.15/1.15, allocations: 194.5 MB / 211.6 MB, free: 3.039 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.001528/0.001528, allocations: 112.9 kB / 256.9 MB, free: 4.352 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002634/0.0002634, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06902/0.0693, allocations: 44.5 MB / 355.1 MB, free: 2.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.222/0.2913, allocations: 77.67 MB / 432.7 MB, free: 11.81 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/0.2916, allocations: 68.22 kB / 432.8 MB, free: 11.78 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04897/0.3406, allocations: 27.85 MB / 460.6 MB, free: 2.762 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.466e-06/0.3406, allocations: 0 / 460.6 MB, free: 2.762 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.3406, allocations: 7.938 kB / 460.7 MB, free: 2.754 MB / 330.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.0007481/0.3414, allocations: 0.6715 MB / 461.3 MB, free: 2.012 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.3414, allocations: 12.03 kB / 461.3 MB, free: 2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.897e-05/0.3415, allocations: 35.53 kB / 461.4 MB, free: 1.965 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003586/0.3419, allocations: 269.4 kB / 461.6 MB, free: 1.664 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.3419, allocations: 8 kB / 461.6 MB, free: 1.656 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.652e-05/0.342, allocations: 12 kB / 461.7 MB, free: 1.645 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003202/0.3423, allocations: 149.5 kB / 461.8 MB, free: 1.492 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.3423, allocations: 0 / 461.8 MB, free: 1.492 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.934e-05/0.3424, allocations: 4 kB / 461.8 MB, free: 1.488 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3424, allocations: 0 / 461.8 MB, free: 1.488 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/0.3426, allocations: 67.95 kB / 461.9 MB, free: 1.422 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009389/0.3435, allocations: 480.6 kB / 462.3 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/0.3437, allocations: 106.5 kB / 462.4 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.998e-06/0.3437, allocations: 0 / 462.4 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003268/0.3441, allocations: 238.8 kB / 462.7 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 3.617e-06/0.3441, allocations: 7.938 kB / 462.7 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009255/0.345, allocations: 0.6505 MB / 463.3 MB, free: 15.8 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.693e-05/0.3451, allocations: 166.2 kB / 463.5 MB, free: 15.61 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005243/0.3457, allocations: 472.4 kB / 464 MB, free: 15.14 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.3457, allocations: 31.39 kB / 464 MB, free: 15.1 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.211e-05/0.3458, allocations: 97.12 kB / 464.1 MB, free: 15 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.143e-05/0.3458, allocations: 23.72 kB / 464.1 MB, free: 14.98 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.948e-05/0.3458, allocations: 4 kB / 464.1 MB, free: 14.97 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.68e-05/0.3459, allocations: 326.8 kB / 464.4 MB, free: 14.64 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.3461, allocations: 67.95 kB / 464.5 MB, free: 14.58 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.3462, allocations: 89.59 kB / 464.6 MB, free: 14.48 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.3464, allocations: 170.8 kB / 464.8 MB, free: 14.29 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.3464, allocations: 4 kB / 464.8 MB, free: 14.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005639/0.347, allocations: 412.2 kB / 465.2 MB, free: 13.86 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.767e-05/0.3471, allocations: 122.8 kB / 465.3 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.3471, allocations: 3.938 kB / 465.3 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.3471, allocations: 32 / 465.3 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.999e-05/0.3472, allocations: 11.98 kB / 465.3 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.3472, allocations: 0 / 465.3 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.3473, allocations: 12 kB / 465.3 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/0.3474, allocations: 123.8 kB / 465.4 MB, free: 13.56 MB / 346.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.0003219/0.3478, allocations: 354.3 kB / 465.8 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.125e-05/0.3478, allocations: 44.28 kB / 465.8 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.269e-05/0.3479, allocations: 59.16 kB / 465.9 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3479, allocations: 8 kB / 465.9 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3479, allocations: 0 / 465.9 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.348, allocations: 3.984 kB / 465.9 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00096/0.3489, allocations: 0.8446 MB / 466.7 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3489, allocations: 0 / 466.7 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.514e-06/0.3489, allocations: 3.984 kB / 466.7 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.349, allocations: 1.688 kB / 466.7 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.819e-05/0.349, allocations: 23.98 kB / 466.8 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.349, allocations: 0 / 466.8 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.349, allocations: 192 / 466.8 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006814/0.3497, allocations: 0.5569 MB / 467.3 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003467/0.3501, allocations: 256.4 kB / 467.6 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.549e-05/0.3501, allocations: 11.98 kB / 467.6 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.3503, allocations: 15.94 kB / 467.6 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.3504, allocations: 31.95 kB / 467.6 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001319/0.3506, allocations: 123.8 kB / 467.7 MB, free: 11.07 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004479/0.351, allocations: 390.9 kB / 468.1 MB, free: 10.69 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.351, allocations: 0 / 468.1 MB, free: 10.69 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003237/0.3513, allocations: 44 kB / 468.2 MB, free: 10.64 MB / 346.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.0001391/0.3515, allocations: 119 kB / 468.3 MB, free: 10.52 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005883/0.3521, allocations: 453.5 kB / 468.7 MB, free: 10.03 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3521, allocations: 3.938 kB / 468.7 MB, free: 10.02 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003273/0.3524, allocations: 381.6 kB / 469.1 MB, free: 9.602 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000501/0.3529, allocations: 108.9 kB / 469.2 MB, free: 9.496 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.3541, allocations: 0.7514 MB / 470 MB, free: 8.715 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005083/0.3547, allocations: 0.8102 MB / 470.8 MB, free: 7.875 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.798e-05/0.3547, allocations: 9.5 kB / 470.8 MB, free: 7.863 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.178e-05/0.3548, allocations: 11.44 kB / 470.8 MB, free: 7.852 MB / 346.7 MB Notification: Performance of SimCode: time 4.11e-07/0.3548, allocations: 0 / 470.8 MB, free: 7.852 MB / 346.7 MB Notification: Performance of Templates: time 0.009995/0.3648, allocations: 5.74 MB / 476.5 MB, free: 2.082 MB / 346.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)