Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001112/0.001112, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001187/0.001187, allocations: 195.2 kB / 16.14 MB, free: 6.734 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.74/1.74, allocations: 205.1 MB / 222 MB, free: 4.766 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.001525/0.001525, allocations: 47.94 kB / 278 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3772/0.3788, allocations: 46.62 MB / 324.7 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.003476/0.3823, allocations: 1.569 MB / 326.2 MB, free: 0.6836 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002182/0.3845, allocations: 0.9188 MB / 327.2 MB, free: 15.99 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.48e-05/0.3846, allocations: 0 / 327.2 MB, free: 15.99 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001448/0.3848, allocations: 11.58 kB / 327.2 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.3849, allocations: 15.42 kB / 327.2 MB, free: 15.97 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003195/0.3853, allocations: 43.05 kB / 327.2 MB, free: 15.93 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.3855, allocations: 114.4 kB / 327.3 MB, free: 15.87 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.3856, allocations: 21.73 kB / 327.4 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006726/0.3863, allocations: 387.1 kB / 327.7 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.3864, allocations: 67.31 kB / 327.8 MB, free: 15.67 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.621e-05/0.3865, allocations: 3.719 kB / 327.8 MB, free: 15.67 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.54e-05/0.3865, allocations: 4.906 kB / 327.8 MB, free: 15.67 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.3867, allocations: 65.83 kB / 327.9 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001479/0.3868, allocations: 112.2 kB / 328 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004086/0.3872, allocations: 348.2 kB / 328.3 MB, free: 15.29 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.3873, allocations: 0 / 328.3 MB, free: 15.29 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3873, allocations: 0 / 328.3 MB, free: 15.29 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.3873, allocations: 0 / 328.3 MB, free: 15.29 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.001121/0.3884, allocations: 0.7207 MB / 329 MB, free: 14.59 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.396e-05/0.3885, allocations: 8.938 kB / 329.1 MB, free: 14.59 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.3886, allocations: 34.84 kB / 329.1 MB, free: 14.58 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003909/0.389, allocations: 274.2 kB / 329.4 MB, free: 14.3 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.702e-05/0.389, allocations: 8.875 kB / 329.4 MB, free: 14.3 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.941e-05/0.3891, allocations: 11.75 kB / 329.4 MB, free: 14.3 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003893/0.3895, allocations: 127.8 kB / 329.5 MB, free: 14.21 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.3895, allocations: 0 / 329.5 MB, free: 14.21 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.7e-05/0.3895, allocations: 3.188 kB / 329.5 MB, free: 14.21 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.3896, allocations: 1.156 kB / 329.5 MB, free: 14.21 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001683/0.3897, allocations: 61.44 kB / 329.6 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008511/0.3906, allocations: 461.5 kB / 330 MB, free: 13.77 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.3908, allocations: 102.8 kB / 330.1 MB, free: 13.7 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.391, allocations: 79.73 kB / 330.2 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.391, allocations: 1.125 kB / 330.2 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004355/0.3915, allocations: 203.7 kB / 330.4 MB, free: 13.49 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 4.008e-06/0.3915, allocations: 5.047 kB / 330.4 MB, free: 13.48 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009719/0.3925, allocations: 465.9 kB / 330.9 MB, free: 13.2 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.3926, allocations: 173.8 kB / 331 MB, free: 13 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007658/0.3934, allocations: 0.5126 MB / 331.5 MB, free: 12.66 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.277e-05/0.3934, allocations: 28.89 kB / 331.6 MB, free: 12.63 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.868e-05/0.3935, allocations: 105.5 kB / 331.7 MB, free: 12.53 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.55e-05/0.3935, allocations: 30.3 kB / 331.7 MB, free: 12.5 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.3937, allocations: 81.55 kB / 331.8 MB, free: 12.45 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3939, allocations: 326.2 kB / 332.1 MB, free: 12.13 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.394, allocations: 58.7 kB / 332.2 MB, free: 12.1 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.3942, allocations: 70.28 kB / 332.2 MB, free: 12.06 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004021/0.3946, allocations: 348.7 kB / 332.6 MB, free: 11.73 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3946, allocations: 0 / 332.6 MB, free: 11.73 MB / 270.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006413/0.3953, allocations: 382 kB / 332.9 MB, free: 11.48 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.3954, allocations: 134.4 kB / 333.1 MB, free: 11.32 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.3954, allocations: 0 / 333.1 MB, free: 11.32 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.3954, allocations: 0 / 333.1 MB, free: 11.32 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.295e-05/0.3955, allocations: 4 kB / 333.1 MB, free: 11.32 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.3955, allocations: 4.062 kB / 333.1 MB, free: 11.32 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001871/0.3957, allocations: 16.03 kB / 333.1 MB, free: 11.3 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.172e-05/0.3958, allocations: 47.98 kB / 333.1 MB, free: 11.25 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.000427/0.3962, allocations: 362.2 kB / 333.5 MB, free: 10.86 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.467e-05/0.3963, allocations: 39.62 kB / 333.5 MB, free: 10.82 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/0.3964, allocations: 63.16 kB / 333.6 MB, free: 10.76 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.3964, allocations: 0 / 333.6 MB, free: 10.76 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.3964, allocations: 0 / 333.6 MB, free: 10.76 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3964, allocations: 0 / 333.6 MB, free: 10.76 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.3976, allocations: 0.8094 MB / 334.4 MB, free: 9.867 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.3976, allocations: 112 / 334.4 MB, free: 9.867 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.058e-05/0.3976, allocations: 11.92 kB / 334.4 MB, free: 9.855 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3977, allocations: 0 / 334.4 MB, free: 9.855 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.364e-05/0.3977, allocations: 12 kB / 334.4 MB, free: 9.844 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.3977, allocations: 4 kB / 334.4 MB, free: 9.84 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.3977, allocations: 3.938 kB / 334.4 MB, free: 9.836 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007754/0.3985, allocations: 0.5175 MB / 335 MB, free: 9.277 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003731/0.3989, allocations: 244.4 kB / 335.2 MB, free: 9.02 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.753e-05/0.399, allocations: 15.94 kB / 335.2 MB, free: 9.004 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.3991, allocations: 11.98 kB / 335.2 MB, free: 8.992 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/0.3993, allocations: 31.89 kB / 335.2 MB, free: 8.961 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.567e-05/0.3994, allocations: 47.94 kB / 335.3 MB, free: 8.914 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0005833/0.3999, allocations: 390.9 kB / 335.7 MB, free: 8.535 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4, allocations: 0 / 335.7 MB, free: 8.535 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003321/0.4003, allocations: 40 kB / 335.7 MB, free: 8.496 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.0002274/0.4005, allocations: 115 kB / 335.8 MB, free: 8.375 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006547/0.4012, allocations: 433.7 kB / 336.3 MB, free: 7.902 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/0.4012, allocations: 0 / 336.3 MB, free: 7.902 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000419/0.4016, allocations: 385.7 kB / 336.6 MB, free: 7.477 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007032/0.4024, allocations: 113.6 kB / 336.7 MB, free: 7.363 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.4037, allocations: 0.7608 MB / 337.5 MB, free: 6.578 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005467/0.4043, allocations: 0.8064 MB / 338.3 MB, free: 5.746 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.875e-05/0.4044, allocations: 8.656 kB / 338.3 MB, free: 5.73 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.349e-05/0.4044, allocations: 11.44 kB / 338.3 MB, free: 5.723 MB / 270.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4044, allocations: 0 / 338.3 MB, free: 5.723 MB / 270.1 MB Notification: Performance of Templates: time 0.009035/0.4134, allocations: 4.236 MB / 342.6 MB, free: 1.441 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Digital.Examples.INV3S.makefile (rm -f Modelica_3.1_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_3.1_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1)