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.001045/0.001045, 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.001437/0.001437, 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.844/1.844, 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.0005893/0.0005896, allocations: 14.81 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3708, allocations: 47.59 MB / 326.5 MB, free: 1.492 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.001885/0.3727, allocations: 1.198 MB / 327.7 MB, free: 0.5391 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001755/0.3745, allocations: 0.8503 MB / 328.5 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.491e-05/0.3746, allocations: 1.125 kB / 328.5 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.608e-05/0.3746, allocations: 9.328 kB / 328.5 MB, free: 15.9 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.968e-05/0.3747, allocations: 8.125 kB / 328.5 MB, free: 15.9 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00025/0.375, allocations: 50.97 kB / 328.6 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.3752, allocations: 103.5 kB / 328.7 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.719e-05/0.3753, allocations: 16.8 kB / 328.7 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005478/0.3758, allocations: 349.5 kB / 329 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.376, allocations: 81.5 kB / 329.1 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.565e-05/0.376, allocations: 4.375 kB / 329.1 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.612e-05/0.3761, allocations: 2.688 kB / 329.1 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.3762, allocations: 60.77 kB / 329.2 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.91e-05/0.3763, allocations: 76.8 kB / 329.3 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000367/0.3767, allocations: 282.5 kB / 329.5 MB, free: 15.32 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.3767, allocations: 0 / 329.5 MB, free: 15.32 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3767, allocations: 0 / 329.5 MB, free: 15.32 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.3767, allocations: 0 / 329.5 MB, free: 15.32 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.0008099/0.3775, allocations: 0.6696 MB / 330.2 MB, free: 14.64 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.3776, allocations: 9.781 kB / 330.2 MB, free: 14.64 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.503e-05/0.3777, allocations: 37.41 kB / 330.3 MB, free: 14.62 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003336/0.378, allocations: 264.9 kB / 330.5 MB, free: 14.36 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.125e-05/0.378, allocations: 12.62 kB / 330.5 MB, free: 14.35 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.3781, allocations: 8.281 kB / 330.5 MB, free: 14.35 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003341/0.3784, allocations: 127 kB / 330.7 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.3784, allocations: 0 / 330.7 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.3785, allocations: 3.094 kB / 330.7 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.3785, allocations: 0.9062 kB / 330.7 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.3786, allocations: 56.03 kB / 330.7 MB, free: 14.25 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007033/0.3794, allocations: 464.7 kB / 331.2 MB, free: 13.83 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.3796, allocations: 94.48 kB / 331.3 MB, free: 13.77 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/0.3797, allocations: 80.33 kB / 331.3 MB, free: 13.73 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.3797, allocations: 0 / 331.3 MB, free: 13.73 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003669/0.3801, allocations: 204.5 kB / 331.5 MB, free: 13.55 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.3801, allocations: 7.938 kB / 331.6 MB, free: 13.55 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008693/0.381, allocations: 469.5 kB / 332 MB, free: 13.26 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/0.3811, allocations: 168.2 kB / 332.2 MB, free: 13.06 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007045/0.3818, allocations: 0.5146 MB / 332.7 MB, free: 12.72 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/0.3819, allocations: 33.14 kB / 332.7 MB, free: 12.68 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.191e-05/0.382, allocations: 101 kB / 332.8 MB, free: 12.59 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.111e-05/0.382, allocations: 27 kB / 332.8 MB, free: 12.57 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.66e-05/0.382, allocations: 3.312 kB / 332.9 MB, free: 12.57 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.3822, allocations: 325.7 kB / 333.2 MB, free: 12.24 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.3823, allocations: 62.22 kB / 333.2 MB, free: 12.21 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.3825, allocations: 75.11 kB / 333.3 MB, free: 12.16 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.3827, allocations: 161.9 kB / 333.5 MB, free: 12.01 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3827, allocations: 1 kB / 333.5 MB, free: 12.01 MB / 270.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005908/0.3833, allocations: 383.8 kB / 333.8 MB, free: 11.76 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001019/0.3834, allocations: 121.6 kB / 334 MB, free: 11.62 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.3834, allocations: 1.469 kB / 334 MB, free: 11.62 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.3834, allocations: 4.031 kB / 334 MB, free: 11.62 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.583e-05/0.3835, allocations: 5.359 kB / 334 MB, free: 11.62 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.3835, allocations: 1.031 kB / 334 MB, free: 11.62 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.3837, allocations: 15.36 kB / 334 MB, free: 11.61 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.503e-05/0.3838, allocations: 42.11 kB / 334 MB, free: 11.61 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.0003896/0.3841, allocations: 364.3 kB / 334.4 MB, free: 11.25 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.905e-05/0.3842, allocations: 39.53 kB / 334.4 MB, free: 11.21 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/0.3843, allocations: 71.14 kB / 334.5 MB, free: 11.14 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3843, allocations: 0 / 334.5 MB, free: 11.14 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3843, allocations: 0 / 334.5 MB, free: 11.14 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3844, allocations: 0 / 334.5 MB, free: 11.14 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009906/0.3854, allocations: 0.8134 MB / 335.3 MB, free: 10.25 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.3854, allocations: 0 / 335.3 MB, free: 10.25 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.298e-06/0.3854, allocations: 0 / 335.3 MB, free: 10.25 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3854, allocations: 0 / 335.3 MB, free: 10.25 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.068e-05/0.3854, allocations: 16.17 kB / 335.3 MB, free: 10.23 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.193e-06/0.3854, allocations: 4 kB / 335.3 MB, free: 10.23 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3854, allocations: 7.938 kB / 335.3 MB, free: 10.22 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006351/0.3861, allocations: 0.5332 MB / 335.9 MB, free: 9.645 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002981/0.3864, allocations: 240.5 kB / 336.1 MB, free: 9.391 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.435e-05/0.3864, allocations: 8 kB / 336.1 MB, free: 9.383 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.3866, allocations: 16 kB / 336.1 MB, free: 9.367 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.3867, allocations: 23.95 kB / 336.1 MB, free: 9.344 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.683e-05/0.3868, allocations: 47.94 kB / 336.2 MB, free: 9.297 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0004724/0.3873, allocations: 390.9 kB / 336.6 MB, free: 8.918 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3873, allocations: 0 / 336.6 MB, free: 8.918 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002844/0.3876, allocations: 51.86 kB / 336.6 MB, free: 8.867 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.0001479/0.3877, allocations: 115 kB / 336.7 MB, free: 8.746 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005031/0.3882, allocations: 437.5 kB / 337.2 MB, free: 8.27 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3882, allocations: 0 / 337.2 MB, free: 8.27 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000341/0.3886, allocations: 377.6 kB / 337.5 MB, free: 7.852 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005833/0.3892, allocations: 109.5 kB / 337.6 MB, free: 7.742 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.3903, allocations: 0.7271 MB / 338.4 MB, free: 6.992 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004344/0.3907, allocations: 0.7986 MB / 339.2 MB, free: 6.168 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 4.793e-05/0.3908, allocations: 12.64 kB / 339.2 MB, free: 6.148 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.936e-05/0.3908, allocations: 11.44 kB / 339.2 MB, free: 6.141 MB / 270.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3908, allocations: 0 / 339.2 MB, free: 6.141 MB / 270.1 MB Notification: Performance of Templates: time 0.00685/0.3977, allocations: 3.9 MB / 343.1 MB, free: 2.195 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)