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.001305/0.001305, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001292/0.001292, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.836/1.836, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.0005957/0.0005961, allocations: 8 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3708, allocations: 47.58 MB / 326.5 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.001938/0.3728, allocations: 1.202 MB / 327.7 MB, free: 444 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.3747, allocations: 0.8501 MB / 328.5 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.208e-05/0.3747, allocations: 0 / 328.5 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.907e-05/0.3749, allocations: 9.25 kB / 328.5 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.567e-05/0.375, allocations: 10.8 kB / 328.5 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002849/0.3752, allocations: 45.02 kB / 328.6 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000168/0.3754, allocations: 105.8 kB / 328.7 MB, free: 15.69 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.3755, allocations: 16.52 kB / 328.7 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005757/0.3761, allocations: 354.8 kB / 329.1 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.3763, allocations: 72.81 kB / 329.1 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.218e-05/0.3763, allocations: 7.594 kB / 329.1 MB, free: 15.51 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.387e-05/0.3764, allocations: 4.562 kB / 329.1 MB, free: 15.51 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.3765, allocations: 61.45 kB / 329.2 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.171e-05/0.3766, allocations: 67.3 kB / 329.3 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003138/0.3769, allocations: 294.5 kB / 329.6 MB, free: 15.21 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.3769, allocations: 0 / 329.6 MB, free: 15.21 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.3769, allocations: 0 / 329.6 MB, free: 15.21 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.3769, allocations: 0.9062 kB / 329.6 MB, free: 15.21 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.0008141/0.3777, allocations: 0.661 MB / 330.2 MB, free: 14.54 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.3778, allocations: 9.438 kB / 330.2 MB, free: 14.54 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.3779, allocations: 34.19 kB / 330.3 MB, free: 14.53 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003297/0.3782, allocations: 269.5 kB / 330.5 MB, free: 14.26 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.3783, allocations: 4.406 kB / 330.5 MB, free: 14.26 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.028e-05/0.3783, allocations: 14.91 kB / 330.5 MB, free: 14.25 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003396/0.3787, allocations: 118.6 kB / 330.7 MB, free: 14.18 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3787, allocations: 5.141 kB / 330.7 MB, free: 14.17 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.526e-05/0.3787, allocations: 7.266 kB / 330.7 MB, free: 14.17 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.3787, allocations: 0.875 kB / 330.7 MB, free: 14.17 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001598/0.3789, allocations: 60.73 kB / 330.7 MB, free: 14.14 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007839/0.3797, allocations: 459.6 kB / 331.2 MB, free: 13.73 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002323/0.3799, allocations: 99.34 kB / 331.3 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.3801, allocations: 79.42 kB / 331.4 MB, free: 13.62 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.3801, allocations: 1.031 kB / 331.4 MB, free: 13.62 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004439/0.3806, allocations: 203.6 kB / 331.6 MB, free: 13.45 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 8.706e-06/0.3806, allocations: 4.109 kB / 331.6 MB, free: 13.45 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009233/0.3815, allocations: 464.9 kB / 332 MB, free: 13.16 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001537/0.3817, allocations: 169.4 kB / 332.2 MB, free: 12.96 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007887/0.3825, allocations: 0.5172 MB / 332.7 MB, free: 12.62 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.3825, allocations: 29.48 kB / 332.7 MB, free: 12.59 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.3827, allocations: 109.1 kB / 332.8 MB, free: 12.48 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.615e-05/0.3827, allocations: 27.14 kB / 332.9 MB, free: 12.46 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.857e-05/0.3827, allocations: 3.312 kB / 332.9 MB, free: 12.46 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.3829, allocations: 322.1 kB / 333.2 MB, free: 12.14 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.383, allocations: 66.28 kB / 333.2 MB, free: 12.11 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.3832, allocations: 66.66 kB / 333.3 MB, free: 12.07 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.3834, allocations: 174.7 kB / 333.5 MB, free: 11.9 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3834, allocations: 0 / 333.5 MB, free: 11.9 MB / 270.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005784/0.384, allocations: 371.8 kB / 333.8 MB, free: 11.66 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001293/0.3841, allocations: 129.8 kB / 334 MB, free: 11.52 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.3841, allocations: 0.9688 kB / 334 MB, free: 11.52 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.3842, allocations: 5.125 kB / 334 MB, free: 11.52 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.751e-05/0.3842, allocations: 1.125 kB / 334 MB, free: 11.52 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.3842, allocations: 1.031 kB / 334 MB, free: 11.52 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.3844, allocations: 14.33 kB / 334 MB, free: 11.51 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.63e-05/0.3845, allocations: 43.27 kB / 334 MB, free: 11.51 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.0003743/0.3849, allocations: 367.4 kB / 334.4 MB, free: 11.16 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.076e-05/0.3849, allocations: 39.53 kB / 334.4 MB, free: 11.12 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.3851, allocations: 63.16 kB / 334.5 MB, free: 11.05 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/0.3851, allocations: 4 kB / 334.5 MB, free: 11.05 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3851, allocations: 0 / 334.5 MB, free: 11.05 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.3851, allocations: 3.984 kB / 334.5 MB, free: 11.04 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001/0.3861, allocations: 0.8099 MB / 335.3 MB, free: 10.15 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3861, allocations: 0 / 335.3 MB, free: 10.15 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.958e-06/0.3861, allocations: 0 / 335.3 MB, free: 10.15 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3861, allocations: 0 / 335.3 MB, free: 10.15 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.905e-05/0.3862, allocations: 12 kB / 335.3 MB, free: 10.14 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3862, allocations: 192 / 335.3 MB, free: 10.14 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.3862, allocations: 7.938 kB / 335.3 MB, free: 10.13 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007098/0.3869, allocations: 0.5446 MB / 335.9 MB, free: 9.547 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003371/0.3872, allocations: 240.5 kB / 336.1 MB, free: 9.293 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.898e-05/0.3873, allocations: 8 kB / 336.1 MB, free: 9.285 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.3875, allocations: 12 kB / 336.1 MB, free: 9.273 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/0.3876, allocations: 27.97 kB / 336.1 MB, free: 9.246 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.361e-05/0.3877, allocations: 43.92 kB / 336.2 MB, free: 9.203 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.000535/0.3882, allocations: 390.9 kB / 336.6 MB, free: 8.824 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3883, allocations: 0 / 336.6 MB, free: 8.824 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003252/0.3886, allocations: 55.86 kB / 336.6 MB, free: 8.77 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.0002236/0.3888, allocations: 119 kB / 336.7 MB, free: 8.645 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006725/0.3895, allocations: 433.5 kB / 337.2 MB, free: 8.172 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3895, allocations: 4 kB / 337.2 MB, free: 8.168 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000451/0.39, allocations: 373.6 kB / 337.5 MB, free: 7.754 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006678/0.3906, allocations: 105.5 kB / 337.6 MB, free: 7.648 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.3921, allocations: 0.731 MB / 338.4 MB, free: 6.895 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006649/0.3928, allocations: 0.8024 MB / 339.2 MB, free: 6.066 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.016e-05/0.3929, allocations: 8.656 kB / 339.2 MB, free: 6.051 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.961e-05/0.3929, allocations: 15.38 kB / 339.2 MB, free: 6.039 MB / 270.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3929, allocations: 0 / 339.2 MB, free: 6.039 MB / 270.1 MB Notification: Performance of Templates: time 0.008317/0.4013, allocations: 3.895 MB / 343.1 MB, free: 2.098 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)