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.0008971/0.0008972, allocations: 91.33 kB / 16.31 MB, free: 5.609 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.001076/0.001076, allocations: 180.9 kB / 17.21 MB, free: 5.523 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.87/1.87, allocations: 205.4 MB / 223.4 MB, free: 5.551 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.0004669/0.000467, allocations: 8 kB / 280.1 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.3704, allocations: 47.59 MB / 327.7 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002318/0.3728, allocations: 1.209 MB / 328.9 MB, free: 472 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001987/0.3748, allocations: 0.8441 MB / 329.8 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.889e-05/0.3749, allocations: 0 / 329.8 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.375, allocations: 7.438 kB / 329.8 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.755e-05/0.3751, allocations: 19.7 kB / 329.8 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002903/0.3754, allocations: 38.73 kB / 329.8 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.3756, allocations: 109.5 kB / 329.9 MB, free: 15.72 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.3757, allocations: 16.86 kB / 330 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006514/0.3764, allocations: 354.2 kB / 330.3 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001827/0.3766, allocations: 69.28 kB / 330.4 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.414e-05/0.3766, allocations: 3.219 kB / 330.4 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.868e-05/0.3767, allocations: 4.094 kB / 330.4 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.3768, allocations: 67.86 kB / 330.5 MB, free: 15.51 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.374e-05/0.3769, allocations: 73.67 kB / 330.5 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003177/0.3772, allocations: 285.5 kB / 330.8 MB, free: 15.24 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.3772, allocations: 0 / 330.8 MB, free: 15.24 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.3772, allocations: 5.312 kB / 330.8 MB, free: 15.23 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.3772, allocations: 0 / 330.8 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.0008914/0.3781, allocations: 0.6648 MB / 331.5 MB, free: 14.57 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.036e-05/0.3782, allocations: 9.375 kB / 331.5 MB, free: 14.57 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.678e-05/0.3783, allocations: 37.59 kB / 331.5 MB, free: 14.55 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003859/0.3787, allocations: 260.9 kB / 331.8 MB, free: 14.29 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.3787, allocations: 9.375 kB / 331.8 MB, free: 14.29 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.459e-05/0.3788, allocations: 11.2 kB / 331.8 MB, free: 14.28 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000409/0.3792, allocations: 118.6 kB / 331.9 MB, free: 14.21 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3792, allocations: 0 / 331.9 MB, free: 14.21 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.132e-05/0.3793, allocations: 12.95 kB / 331.9 MB, free: 14.2 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.3793, allocations: 0 / 331.9 MB, free: 14.2 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.3794, allocations: 59.81 kB / 332 MB, free: 14.17 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009279/0.3804, allocations: 464.1 kB / 332.4 MB, free: 13.76 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/0.3806, allocations: 91.42 kB / 332.5 MB, free: 13.7 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.3808, allocations: 87.42 kB / 332.6 MB, free: 13.65 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.3808, allocations: 0.9688 kB / 332.6 MB, free: 13.65 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005052/0.3813, allocations: 207.9 kB / 332.8 MB, free: 13.47 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.3813, allocations: 0 / 332.8 MB, free: 13.47 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009989/0.3823, allocations: 461 kB / 333.3 MB, free: 13.19 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001387/0.3825, allocations: 173.6 kB / 333.4 MB, free: 12.99 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008579/0.3834, allocations: 0.5171 MB / 333.9 MB, free: 12.64 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.385e-05/0.3834, allocations: 30.11 kB / 334 MB, free: 12.61 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.372e-05/0.3835, allocations: 100.7 kB / 334.1 MB, free: 12.52 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.182e-05/0.3835, allocations: 23.28 kB / 334.1 MB, free: 12.5 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.738e-05/0.3836, allocations: 6.469 kB / 334.1 MB, free: 12.5 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3837, allocations: 326.1 kB / 334.4 MB, free: 12.17 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.3839, allocations: 58.06 kB / 334.5 MB, free: 12.14 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.384, allocations: 70.94 kB / 334.5 MB, free: 12.1 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/0.3842, allocations: 170.8 kB / 334.7 MB, free: 11.94 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3843, allocations: 3.938 kB / 334.7 MB, free: 11.94 MB / 270.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005915/0.3849, allocations: 372.9 kB / 335.1 MB, free: 11.7 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001235/0.385, allocations: 125.7 kB / 335.2 MB, free: 11.56 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.385, allocations: 5.844 kB / 335.2 MB, free: 11.55 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.385, allocations: 0 / 335.2 MB, free: 11.55 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.246e-05/0.3851, allocations: 1.531 kB / 335.2 MB, free: 11.55 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.3851, allocations: 0 / 335.2 MB, free: 11.55 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.3853, allocations: 23.67 kB / 335.2 MB, free: 11.54 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.419e-05/0.3854, allocations: 41.52 kB / 335.3 MB, free: 11.54 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.0004993/0.3859, allocations: 357.4 kB / 335.6 MB, free: 11.18 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.31e-05/0.3859, allocations: 39.53 kB / 335.7 MB, free: 11.14 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.386, allocations: 71.14 kB / 335.7 MB, free: 11.07 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.3861, allocations: 7.938 kB / 335.7 MB, free: 11.06 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3861, allocations: 0 / 335.7 MB, free: 11.06 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.3861, allocations: 3.984 kB / 335.7 MB, free: 11.05 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001209/0.3873, allocations: 0.806 MB / 336.6 MB, free: 10.17 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3873, allocations: 192 / 336.6 MB, free: 10.17 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.117e-06/0.3873, allocations: 7.938 kB / 336.6 MB, free: 10.16 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3873, allocations: 0 / 336.6 MB, free: 10.16 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/0.3874, allocations: 16 kB / 336.6 MB, free: 10.14 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3874, allocations: 0 / 336.6 MB, free: 10.14 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3874, allocations: 7.984 kB / 336.6 MB, free: 10.14 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006689/0.3881, allocations: 0.5212 MB / 337.1 MB, free: 9.574 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003337/0.3884, allocations: 248.5 kB / 337.3 MB, free: 9.312 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.532e-05/0.3885, allocations: 12 kB / 337.4 MB, free: 9.301 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.3886, allocations: 12 kB / 337.4 MB, free: 9.289 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.3888, allocations: 27.95 kB / 337.4 MB, free: 9.262 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.427e-05/0.3888, allocations: 47.92 kB / 337.4 MB, free: 9.215 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0005641/0.3894, allocations: 390.9 kB / 337.8 MB, free: 8.836 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.913e-06/0.3894, allocations: 0 / 337.8 MB, free: 8.836 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002966/0.3897, allocations: 51.8 kB / 337.9 MB, free: 8.785 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.0001802/0.3899, allocations: 123 kB / 338 MB, free: 8.656 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006967/0.3906, allocations: 433.5 kB / 338.4 MB, free: 8.184 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3906, allocations: 0 / 338.4 MB, free: 8.184 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003544/0.391, allocations: 369.6 kB / 338.8 MB, free: 7.773 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006307/0.3916, allocations: 109.5 kB / 338.9 MB, free: 7.664 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.393, allocations: 0.7349 MB / 339.6 MB, free: 6.906 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006092/0.3936, allocations: 0.8024 MB / 340.4 MB, free: 6.078 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.737e-05/0.3937, allocations: 8.656 kB / 340.4 MB, free: 6.062 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.61e-05/0.3937, allocations: 11.44 kB / 340.4 MB, free: 6.055 MB / 270.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3937, allocations: 0 / 340.4 MB, free: 6.055 MB / 270.1 MB Notification: Performance of Templates: time 0.007815/0.4016, allocations: 3.895 MB / 344.3 MB, free: 2.113 MB / 270.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.INV3S.makefile (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)