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.001942/0.001943, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002374/0.002375, allocations: 194 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.043/2.043, allocations: 205.1 MB / 222.1 MB, free: 4.754 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.001197/0.001197, allocations: 51.94 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2845, allocations: 46.62 MB / 324.8 MB, free: 1.883 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.003439/0.288, allocations: 1.573 MB / 326.4 MB, free: 0.6367 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002165/0.2902, allocations: 0.8816 MB / 327.3 MB, free: 15.97 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.429e-05/0.2903, allocations: 1.344 kB / 327.3 MB, free: 15.97 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001302/0.2904, allocations: 5.219 kB / 327.3 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.2905, allocations: 22.61 kB / 327.3 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003272/0.2909, allocations: 44.83 kB / 327.4 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002808/0.2912, allocations: 151.3 kB / 327.5 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.2913, allocations: 20.84 kB / 327.5 MB, free: 15.81 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000594/0.2919, allocations: 391.8 kB / 327.9 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.2921, allocations: 76.5 kB / 328 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.312e-05/0.2921, allocations: 9.531 kB / 328 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.27e-05/0.2922, allocations: 10.31 kB / 328 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.2923, allocations: 62.39 kB / 328.1 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.2924, allocations: 119.3 kB / 328.2 MB, free: 15.49 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000339/0.2928, allocations: 351.9 kB / 328.5 MB, free: 15.23 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.2928, allocations: 0 / 328.5 MB, free: 15.23 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2928, allocations: 3.938 kB / 328.5 MB, free: 15.23 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.2928, allocations: 1.188 kB / 328.5 MB, free: 15.23 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.0008955/0.2937, allocations: 0.7276 MB / 329.3 MB, free: 14.52 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.16e-05/0.2938, allocations: 8.844 kB / 329.3 MB, free: 14.52 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.298e-05/0.2939, allocations: 35.38 kB / 329.3 MB, free: 14.5 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003585/0.2942, allocations: 270 kB / 329.6 MB, free: 14.23 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/0.2943, allocations: 8.156 kB / 329.6 MB, free: 14.23 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.007e-05/0.2943, allocations: 8.719 kB / 329.6 MB, free: 14.23 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003868/0.2947, allocations: 126.6 kB / 329.7 MB, free: 14.15 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.2947, allocations: 5.156 kB / 329.7 MB, free: 14.14 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.993e-05/0.2948, allocations: 3.375 kB / 329.7 MB, free: 14.14 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.2948, allocations: 1.062 kB / 329.7 MB, free: 14.14 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.295, allocations: 60.38 kB / 329.8 MB, free: 14.12 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007717/0.2957, allocations: 461.6 kB / 330.2 MB, free: 13.7 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.296, allocations: 95.48 kB / 330.3 MB, free: 13.64 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/0.2962, allocations: 80.67 kB / 330.4 MB, free: 13.6 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.566e-05/0.2962, allocations: 8 kB / 330.4 MB, free: 13.59 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004553/0.2967, allocations: 200.7 kB / 330.6 MB, free: 13.42 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.743e-06/0.2967, allocations: 0 / 330.6 MB, free: 13.42 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009686/0.2977, allocations: 469.8 kB / 331.1 MB, free: 13.13 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/0.2978, allocations: 168.9 kB / 331.2 MB, free: 12.94 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007278/0.2985, allocations: 0.51 MB / 331.7 MB, free: 12.6 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.558e-05/0.2986, allocations: 36.92 kB / 331.8 MB, free: 12.56 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.181e-05/0.2987, allocations: 105.6 kB / 331.9 MB, free: 12.46 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.629e-05/0.2987, allocations: 33.97 kB / 331.9 MB, free: 12.43 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.2989, allocations: 77.39 kB / 332 MB, free: 12.39 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.299, allocations: 330.2 kB / 332.3 MB, free: 12.06 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.2992, allocations: 53.94 kB / 332.4 MB, free: 12.04 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.2993, allocations: 79.89 kB / 332.4 MB, free: 11.98 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003381/0.2997, allocations: 343 kB / 332.8 MB, free: 11.66 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2997, allocations: 1.125 kB / 332.8 MB, free: 11.66 MB / 270.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005635/0.3003, allocations: 388.4 kB / 333.2 MB, free: 11.39 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.812e-05/0.3004, allocations: 122.8 kB / 333.3 MB, free: 11.25 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.3004, allocations: 4 kB / 333.3 MB, free: 11.25 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.3004, allocations: 0 / 333.3 MB, free: 11.25 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.253e-05/0.3004, allocations: 0 / 333.3 MB, free: 11.25 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3004, allocations: 0 / 333.3 MB, free: 11.25 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/0.3006, allocations: 15.91 kB / 333.3 MB, free: 11.23 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.568e-05/0.3007, allocations: 44.02 kB / 333.3 MB, free: 11.19 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.0003306/0.301, allocations: 362.2 kB / 333.7 MB, free: 10.8 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.961e-05/0.301, allocations: 35.62 kB / 333.7 MB, free: 10.76 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.679e-05/0.3011, allocations: 63.16 kB / 333.8 MB, free: 10.7 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3012, allocations: 3.938 kB / 333.8 MB, free: 10.69 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3012, allocations: 0 / 333.8 MB, free: 10.69 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3012, allocations: 0 / 333.8 MB, free: 10.69 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009524/0.3021, allocations: 0.8211 MB / 334.6 MB, free: 9.789 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.3022, allocations: 7.984 kB / 334.6 MB, free: 9.781 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.761e-06/0.3022, allocations: 3.984 kB / 334.6 MB, free: 9.777 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.3022, allocations: 0 / 334.6 MB, free: 9.777 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/0.3022, allocations: 8 kB / 334.6 MB, free: 9.77 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.3022, allocations: 4 kB / 334.6 MB, free: 9.766 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3022, allocations: 3.938 kB / 334.6 MB, free: 9.762 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006354/0.3029, allocations: 0.5252 MB / 335.2 MB, free: 9.195 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003002/0.3032, allocations: 240.4 kB / 335.4 MB, free: 8.941 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.935e-05/0.3032, allocations: 16 kB / 335.4 MB, free: 8.926 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.3034, allocations: 15.92 kB / 335.4 MB, free: 8.91 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.3035, allocations: 31.91 kB / 335.5 MB, free: 8.879 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.266e-05/0.3036, allocations: 43.94 kB / 335.5 MB, free: 8.836 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0004262/0.304, allocations: 390.9 kB / 335.9 MB, free: 8.457 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.304, allocations: 0 / 335.9 MB, free: 8.457 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002911/0.3043, allocations: 44 kB / 335.9 MB, free: 8.414 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.0001519/0.3045, allocations: 119.2 kB / 336.1 MB, free: 8.289 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005818/0.305, allocations: 441.5 kB / 336.5 MB, free: 7.809 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3051, allocations: 0 / 336.5 MB, free: 7.809 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003381/0.3054, allocations: 373.6 kB / 336.8 MB, free: 7.395 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006878/0.3061, allocations: 124.3 kB / 337 MB, free: 7.273 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.3074, allocations: 0.7526 MB / 337.7 MB, free: 6.496 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005015/0.3079, allocations: 0.8028 MB / 338.5 MB, free: 5.668 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.617e-05/0.308, allocations: 12.66 kB / 338.5 MB, free: 5.648 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.592e-05/0.308, allocations: 11.44 kB / 338.5 MB, free: 5.641 MB / 270.1 MB Notification: Performance of SimCode: time 2.31e-07/0.308, allocations: 0 / 338.5 MB, free: 5.641 MB / 270.1 MB Notification: Performance of Templates: time 0.007398/0.3154, allocations: 4.4 MB / 342.9 MB, free: 1.191 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)