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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001773/0.001773, allocations: 93.61 kB / 16.3 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002033/0.002033, allocations: 183.2 kB / 17.19 MB, free: 5.906 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.994/1.994, allocations: 205.4 MB / 223.4 MB, free: 5.555 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.0005051/0.0005052, allocations: 18.81 kB / 280.1 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3336, allocations: 47.57 MB / 327.7 MB, free: 1.445 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.00201/0.3357, allocations: 1.207 MB / 328.9 MB, free: 496 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002273/0.338, allocations: 0.8504 MB / 329.7 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.059e-05/0.3381, allocations: 0 / 329.7 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.502e-05/0.3382, allocations: 7.922 kB / 329.8 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.649e-05/0.3383, allocations: 18.5 kB / 329.8 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003088/0.3386, allocations: 44.08 kB / 329.8 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.3388, allocations: 76.47 kB / 329.9 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.3389, allocations: 12.19 kB / 329.9 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005917/0.3395, allocations: 292.6 kB / 330.2 MB, free: 15.63 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.3397, allocations: 72.75 kB / 330.3 MB, free: 15.6 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.917e-05/0.3397, allocations: 4.375 kB / 330.3 MB, free: 15.6 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.28e-05/0.3398, allocations: 7.281 kB / 330.3 MB, free: 15.6 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.3399, allocations: 57.55 kB / 330.3 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.419e-05/0.34, allocations: 75.95 kB / 330.4 MB, free: 15.51 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000367/0.3404, allocations: 282 kB / 330.7 MB, free: 15.3 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.3404, allocations: 0 / 330.7 MB, free: 15.3 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.3404, allocations: 0 / 330.7 MB, free: 15.3 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.3404, allocations: 0 / 330.7 MB, free: 15.3 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.000984/0.3414, allocations: 0.6613 MB / 331.3 MB, free: 14.64 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.808e-05/0.3415, allocations: 9.375 kB / 331.3 MB, free: 14.64 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/0.3416, allocations: 34.75 kB / 331.4 MB, free: 14.62 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004393/0.3421, allocations: 264.1 kB / 331.6 MB, free: 14.36 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.232e-05/0.3421, allocations: 4.719 kB / 331.6 MB, free: 14.36 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.7e-05/0.3422, allocations: 11.91 kB / 331.7 MB, free: 14.35 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004292/0.3426, allocations: 130.1 kB / 331.8 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.3426, allocations: 1.062 kB / 331.8 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.042e-05/0.3427, allocations: 2.844 kB / 331.8 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.3427, allocations: 2.031 kB / 331.8 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/0.3429, allocations: 55.56 kB / 331.8 MB, free: 14.24 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.3439, allocations: 471.5 kB / 332.3 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00028/0.3442, allocations: 91.27 kB / 332.4 MB, free: 13.76 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.3443, allocations: 1.031 kB / 332.4 MB, free: 13.76 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000523/0.3448, allocations: 199.1 kB / 332.6 MB, free: 13.59 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.3448, allocations: 1.156 kB / 332.6 MB, free: 13.59 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.001219/0.346, allocations: 0.6224 MB / 333.2 MB, free: 13.11 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001487/0.3462, allocations: 172.5 kB / 333.4 MB, free: 12.91 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009148/0.3471, allocations: 0.5137 MB / 333.9 MB, free: 12.56 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.431e-05/0.3472, allocations: 30.14 kB / 333.9 MB, free: 12.53 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.3473, allocations: 104.8 kB / 334 MB, free: 12.43 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.752e-05/0.3473, allocations: 23.38 kB / 334 MB, free: 12.41 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.877e-05/0.3474, allocations: 2.188 kB / 334 MB, free: 12.41 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002001/0.3476, allocations: 326.5 kB / 334.4 MB, free: 12.09 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.3477, allocations: 61.88 kB / 334.4 MB, free: 12.06 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.3479, allocations: 78.73 kB / 334.5 MB, free: 12.01 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002328/0.3482, allocations: 162.8 kB / 334.7 MB, free: 11.86 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3482, allocations: 0 / 334.7 MB, free: 11.86 MB / 270.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000608/0.3488, allocations: 372.1 kB / 335 MB, free: 11.61 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001227/0.3489, allocations: 130.4 kB / 335.2 MB, free: 11.47 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.349, allocations: 3.938 kB / 335.2 MB, free: 11.47 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.349, allocations: 1.531 kB / 335.2 MB, free: 11.47 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.176e-05/0.349, allocations: 1.531 kB / 335.2 MB, free: 11.47 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.349, allocations: 5.438 kB / 335.2 MB, free: 11.46 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.3492, allocations: 14.17 kB / 335.2 MB, free: 11.46 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.3493, allocations: 42.45 kB / 335.2 MB, free: 11.46 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,$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.0004664/0.3498, allocations: 364.5 kB / 335.6 MB, free: 11.13 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.594e-05/0.3499, allocations: 39.72 kB / 335.6 MB, free: 11.11 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001292/0.35, allocations: 75.44 kB / 335.7 MB, free: 11.05 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.35, allocations: 0.9375 kB / 335.7 MB, free: 11.05 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.3501, allocations: 1.25 kB / 335.7 MB, free: 11.05 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.3501, allocations: 7.984 kB / 335.7 MB, free: 11.05 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.3511, allocations: 0.8065 MB / 336.5 MB, free: 10.18 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.3511, allocations: 0 / 336.5 MB, free: 10.18 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.491e-06/0.3511, allocations: 0 / 336.5 MB, free: 10.18 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3511, allocations: 0 / 336.5 MB, free: 10.18 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.266e-05/0.3512, allocations: 19.98 kB / 336.5 MB, free: 10.16 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3512, allocations: 0 / 336.5 MB, free: 10.16 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.3512, allocations: 0 / 336.5 MB, free: 10.16 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006753/0.3519, allocations: 0.5251 MB / 337.1 MB, free: 9.59 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003603/0.3523, allocations: 248.5 kB / 337.3 MB, free: 9.328 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.39e-05/0.3523, allocations: 8 kB / 337.3 MB, free: 9.32 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.3525, allocations: 15.94 kB / 337.3 MB, free: 9.305 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/0.3526, allocations: 27.95 kB / 337.3 MB, free: 9.277 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-05/0.3527, allocations: 43.94 kB / 337.4 MB, free: 9.234 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.000532/0.3532, allocations: 382.9 kB / 337.8 MB, free: 8.863 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3533, allocations: 0 / 337.8 MB, free: 8.863 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003216/0.3536, allocations: 55.91 kB / 337.8 MB, free: 8.809 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 (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.0002168/0.3538, allocations: 115 kB / 337.9 MB, free: 8.688 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005717/0.3544, allocations: 433.5 kB / 338.4 MB, free: 8.215 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.3544, allocations: 0 / 338.4 MB, free: 8.215 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005168/0.3549, allocations: 381.5 kB / 338.7 MB, free: 7.793 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005568/0.3555, allocations: 101.4 kB / 338.8 MB, free: 7.691 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.3567, allocations: 0.7391 MB / 339.6 MB, free: 6.93 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006057/0.3574, allocations: 0.818 MB / 340.4 MB, free: 6.086 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.465e-05/0.3574, allocations: 4.672 kB / 340.4 MB, free: 6.074 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.496e-05/0.3575, allocations: 11.44 kB / 340.4 MB, free: 6.066 MB / 270.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3575, allocations: 0 / 340.4 MB, free: 6.066 MB / 270.1 MB Notification: Performance of Templates: time 0.007947/0.3654, allocations: 3.892 MB / 344.3 MB, free: 2.129 MB / 270.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.INV3S.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: