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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001528, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 198.5 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.784/1.784, allocations: 205.1 MB / 222.4 MB, free: 4.633 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 47.94 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3231, allocations: 46.64 MB / 325.3 MB, free: 1.844 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002716/0.3258, allocations: 1.507 MB / 326.8 MB, free: 0.6484 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.3277, allocations: 0.8932 MB / 327.7 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.554e-05/0.3278, allocations: 0 / 327.7 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001024/0.3279, allocations: 4.844 kB / 327.7 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.242e-05/0.328, allocations: 27.38 kB / 327.7 MB, free: 15.94 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.3283, allocations: 48.44 kB / 327.8 MB, free: 15.9 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002263/0.3286, allocations: 149.6 kB / 327.9 MB, free: 15.81 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.3287, allocations: 17.98 kB / 328 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005055/0.3292, allocations: 378.2 kB / 328.3 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.3294, allocations: 64.58 kB / 328.4 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.238e-05/0.3294, allocations: 8.844 kB / 328.4 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.807e-05/0.3295, allocations: 14.5 kB / 328.4 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.3296, allocations: 69.69 kB / 328.5 MB, free: 15.58 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001451/0.3297, allocations: 115.1 kB / 328.6 MB, free: 15.49 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003642/0.3301, allocations: 359.2 kB / 328.9 MB, free: 15.22 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.3301, allocations: 0 / 328.9 MB, free: 15.22 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.3301, allocations: 1.188 kB / 328.9 MB, free: 15.22 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.898e-06/0.3302, allocations: 0 / 328.9 MB, free: 15.22 MB / 270.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.000815/0.331, allocations: 0.7159 MB / 329.7 MB, free: 14.53 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.331, allocations: 9.844 kB / 329.7 MB, free: 14.53 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.383e-05/0.3311, allocations: 34.44 kB / 329.7 MB, free: 14.51 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003387/0.3315, allocations: 273.2 kB / 330 MB, free: 14.24 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.3315, allocations: 13.88 kB / 330 MB, free: 14.23 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.127e-05/0.3315, allocations: 12.09 kB / 330 MB, free: 14.23 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000331/0.3319, allocations: 126.7 kB / 330.1 MB, free: 14.14 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.3319, allocations: 0 / 330.1 MB, free: 14.14 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.651e-05/0.3319, allocations: 8.672 kB / 330.1 MB, free: 14.14 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.3319, allocations: 1.125 kB / 330.1 MB, free: 14.14 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.3321, allocations: 59.86 kB / 330.2 MB, free: 14.11 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006932/0.3328, allocations: 470.6 kB / 330.6 MB, free: 13.69 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.333, allocations: 90.86 kB / 330.7 MB, free: 13.63 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/0.3332, allocations: 88.33 kB / 330.8 MB, free: 13.58 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.3332, allocations: 1.188 kB / 330.8 MB, free: 13.58 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003985/0.3336, allocations: 208 kB / 331 MB, free: 13.41 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.442e-06/0.3336, allocations: 0 / 331 MB, free: 13.41 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008288/0.3344, allocations: 462.1 kB / 331.5 MB, free: 13.12 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/0.3346, allocations: 168.5 kB / 331.6 MB, free: 12.93 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006735/0.3352, allocations: 0.5179 MB / 332.2 MB, free: 12.59 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/0.3353, allocations: 29.17 kB / 332.2 MB, free: 12.55 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.976e-05/0.3354, allocations: 104.6 kB / 332.3 MB, free: 12.45 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.023e-05/0.3354, allocations: 31.62 kB / 332.3 MB, free: 12.43 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.3355, allocations: 84.38 kB / 332.4 MB, free: 12.38 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3357, allocations: 330.4 kB / 332.7 MB, free: 12.05 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/0.3359, allocations: 57.81 kB / 332.8 MB, free: 12.02 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.336, allocations: 72.56 kB / 332.9 MB, free: 11.98 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003856/0.3364, allocations: 340.4 kB / 333.2 MB, free: 11.65 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.3364, allocations: 0 / 333.2 MB, free: 11.65 MB / 270.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005527/0.337, allocations: 385.8 kB / 333.6 MB, free: 11.26 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.501e-05/0.3371, allocations: 126.8 kB / 333.7 MB, free: 11.11 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3371, allocations: 0 / 333.7 MB, free: 11.11 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.3371, allocations: 4 kB / 333.7 MB, free: 11.11 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.812e-05/0.3372, allocations: 7.922 kB / 333.7 MB, free: 11.1 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.3372, allocations: 0 / 333.7 MB, free: 11.1 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.3373, allocations: 11.91 kB / 333.7 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-05/0.3374, allocations: 44 kB / 333.8 MB, free: 11.04 MB / 270.1 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,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.x,$PRE.iNV3S.inertialDelaySensitive.x,iNV3S.yy,iNV3S.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003613/0.3378, allocations: 366.2 kB / 334.1 MB, free: 10.65 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.657e-05/0.3378, allocations: 39.61 kB / 334.1 MB, free: 10.61 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.3379, allocations: 63.16 kB / 334.2 MB, free: 10.54 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3379, allocations: 0 / 334.2 MB, free: 10.54 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.338, allocations: 0 / 334.2 MB, free: 10.54 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.338, allocations: 0 / 334.2 MB, free: 10.54 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000981/0.3389, allocations: 0.8095 MB / 335 MB, free: 9.652 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.339, allocations: 0 / 335 MB, free: 9.652 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.771e-06/0.339, allocations: 4.188 kB / 335 MB, free: 9.648 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.339, allocations: 0 / 335 MB, free: 9.648 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.039e-05/0.339, allocations: 15.98 kB / 335 MB, free: 9.633 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.339, allocations: 4 kB / 335 MB, free: 9.629 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.338e-05/0.339, allocations: 3.938 kB / 335 MB, free: 9.625 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006427/0.3397, allocations: 0.5291 MB / 335.6 MB, free: 9.055 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003068/0.34, allocations: 244.4 kB / 335.8 MB, free: 8.797 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.353e-05/0.3401, allocations: 8 kB / 335.8 MB, free: 8.789 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.3402, allocations: 15.98 kB / 335.8 MB, free: 8.773 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/0.3404, allocations: 19.92 kB / 335.9 MB, free: 8.754 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.682e-05/0.3404, allocations: 59.86 kB / 335.9 MB, free: 8.695 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0005313/0.341, allocations: 390.8 kB / 336.3 MB, free: 8.312 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.341, allocations: 0 / 336.3 MB, free: 8.312 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002952/0.3413, allocations: 40 kB / 336.3 MB, free: 8.273 MB / 270.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) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001517/0.3414, allocations: 123 kB / 336.5 MB, free: 8.145 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000568/0.342, allocations: 429.5 kB / 336.9 MB, free: 7.676 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.342, allocations: 0 / 336.9 MB, free: 7.676 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003309/0.3424, allocations: 381.5 kB / 337.2 MB, free: 7.254 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006417/0.343, allocations: 128.6 kB / 337.4 MB, free: 7.129 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.3441, allocations: 0.6627 MB / 338 MB, free: 6.441 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000445/0.3446, allocations: 0.8027 MB / 338.8 MB, free: 5.609 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.281e-05/0.3446, allocations: 12.64 kB / 338.9 MB, free: 5.59 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.535e-05/0.3447, allocations: 11.44 kB / 338.9 MB, free: 5.582 MB / 270.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3447, allocations: 0 / 338.9 MB, free: 5.582 MB / 270.1 MB Notification: Performance of Templates: time 0.007969/0.3526, allocations: 4.509 MB / 343.4 MB, free: 1.023 MB / 270.1 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)