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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001801/0.001801, allocations: 164.5 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.329/1.329, allocations: 170.7 MB / 178.7 MB, free: 15.64 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001532/0.001532, allocations: 115.4 kB / 218 MB, free: 8.402 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.029e-05/2.033e-05, allocations: 7.984 kB / 262.2 MB, free: 26.39 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07397/0.07401, allocations: 38.76 MB / 301 MB, free: 3.641 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.265/0.339, allocations: 71.59 MB / 372.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/0.3393, allocations: 68.84 kB / 372.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05293/0.3923, allocations: 28.28 MB / 400.9 MB, free: 6.129 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.3923, allocations: 0 / 400.9 MB, free: 6.129 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.3923, allocations: 4 kB / 400.9 MB, free: 6.125 MB / 282.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.0005379/0.3929, allocations: 0.6254 MB / 401.5 MB, free: 5.449 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.3929, allocations: 8.031 kB / 401.5 MB, free: 5.441 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.675e-05/0.393, allocations: 39.53 kB / 401.6 MB, free: 5.402 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.3933, allocations: 261.4 kB / 401.8 MB, free: 5.113 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.3933, allocations: 4 kB / 401.8 MB, free: 5.109 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.141e-05/0.3934, allocations: 8 kB / 401.9 MB, free: 5.102 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000133/0.3935, allocations: 60.09 kB / 401.9 MB, free: 5.059 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.3937, allocations: 138.6 kB / 402 MB, free: 4.934 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.3938, allocations: 4 kB / 402 MB, free: 4.93 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.282e-05/0.3938, allocations: 11.3 kB / 402.1 MB, free: 4.922 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.3938, allocations: 0 / 402.1 MB, free: 4.922 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006065/0.3944, allocations: 442.2 kB / 402.5 MB, free: 4.508 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.3946, allocations: 88.25 kB / 402.6 MB, free: 4.441 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.3947, allocations: 99.09 kB / 402.7 MB, free: 4.371 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.286e-06/0.3947, allocations: 0 / 402.7 MB, free: 4.371 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002507/0.395, allocations: 227.1 kB / 402.9 MB, free: 4.148 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.273e-06/0.395, allocations: 0 / 402.9 MB, free: 4.148 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005395/0.3955, allocations: 301.2 kB / 403.2 MB, free: 3.891 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.548e-05/0.3956, allocations: 169.5 kB / 403.4 MB, free: 3.691 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005213/0.3961, allocations: 450.3 kB / 403.8 MB, free: 3.32 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.3962, allocations: 31.08 kB / 403.8 MB, free: 3.285 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.393e-05/0.3963, allocations: 103.2 kB / 403.9 MB, free: 3.191 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.026e-05/0.3963, allocations: 32.03 kB / 404 MB, free: 3.164 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.298e-05/0.3964, allocations: 4 kB / 404 MB, free: 3.16 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.3965, allocations: 320.5 kB / 404.3 MB, free: 2.844 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.3966, allocations: 62.41 kB / 404.3 MB, free: 2.801 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.92e-05/0.3967, allocations: 60.67 kB / 404.4 MB, free: 2.762 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.371e-05/0.3968, allocations: 46.41 kB / 404.4 MB, free: 2.727 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.3968, allocations: 4 kB / 404.4 MB, free: 2.723 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004296/0.3972, allocations: 281.3 kB / 404.7 MB, free: 2.488 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.802e-05/0.3973, allocations: 137.5 kB / 404.9 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3973, allocations: 3.938 kB / 404.9 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.3974, allocations: 3.984 kB / 404.9 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.967e-05/0.3974, allocations: 0 / 404.9 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.3974, allocations: 0 / 404.9 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.3975, allocations: 19.84 kB / 404.9 MB, free: 2.309 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/0.3977, allocations: 115.8 kB / 405 MB, free: 2.195 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,$PRE.iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.x,$PRE.iNV3S.inertialDelaySensitive.y,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 () * 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.0001907/0.3979, allocations: 244.3 kB / 405.2 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.315e-05/0.3979, allocations: 35.62 kB / 405.3 MB, free: 1.895 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.398, allocations: 70.44 kB / 405.3 MB, free: 1.824 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.3981, allocations: 0 / 405.3 MB, free: 1.824 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.3981, allocations: 4 kB / 405.3 MB, free: 1.82 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3981, allocations: 3.938 kB / 405.3 MB, free: 1.816 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007485/0.3988, allocations: 0.6735 MB / 406 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.3988, allocations: 0 / 406 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.478e-06/0.3989, allocations: 0 / 406 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.3989, allocations: 7.953 kB / 406 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.828e-05/0.3989, allocations: 26.41 kB / 406.1 MB, free: 1.164 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3989, allocations: 3.938 kB / 406.1 MB, free: 1.16 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3989, allocations: 0 / 406.1 MB, free: 1.16 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005744/0.3995, allocations: 430.8 kB / 406.5 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003172/0.3998, allocations: 255.2 kB / 406.7 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.177e-05/0.3999, allocations: 11.33 kB / 406.7 MB, free: 0.543 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.4001, allocations: 23.89 kB / 406.8 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.4002, allocations: 33.77 kB / 406.8 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/0.4003, allocations: 122.7 kB / 406.9 MB, free: 384 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004191/0.4007, allocations: 370.4 kB / 407.3 MB, free: 76 kB / 282.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4008, allocations: 0 / 407.3 MB, free: 76 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002876/0.4011, allocations: 40 kB / 407.3 MB, free: 36 kB / 282.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) * 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.0001552/0.4012, allocations: 118.6 kB / 407.4 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003996/0.4016, allocations: 430.8 kB / 407.8 MB, free: 15.51 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4016, allocations: 4 kB / 407.9 MB, free: 15.51 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003065/0.4019, allocations: 373.6 kB / 408.2 MB, free: 15.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005357/0.4025, allocations: 108.2 kB / 408.3 MB, free: 14.99 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008998/0.4034, allocations: 0.5264 MB / 408.8 MB, free: 14.44 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003922/0.4038, allocations: 0.8062 MB / 409.7 MB, free: 13.61 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.549e-05/0.4039, allocations: 17.62 kB / 409.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.768e-05/0.4039, allocations: 7.438 kB / 409.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4039, allocations: 0 / 409.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of Templates: time 0.008476/0.4124, allocations: 5.456 MB / 415.1 MB, free: 8.055 MB / 298.7 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)