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.0007981/0.0007982, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006236/0.006236, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.057/2.057, allocations: 205.4 MB / 222.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.000563/0.0005633, allocations: 15.98 kB / 279.4 MB, free: 12.48 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4343/0.4349, allocations: 47.58 MB / 327 MB, free: 1.375 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002353/0.4374, allocations: 1.231 MB / 328.3 MB, free: 400 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002595/0.44, allocations: 0.9002 MB / 329.2 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.541e-05/0.4401, allocations: 0.9688 kB / 329.2 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.4402, allocations: 8.953 kB / 329.2 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.752e-05/0.4403, allocations: 19.33 kB / 329.2 MB, free: 15.69 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003129/0.4407, allocations: 40.33 kB / 329.2 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002061/0.4409, allocations: 116 kB / 329.3 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001848/0.4411, allocations: 21.42 kB / 329.4 MB, free: 15.58 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007111/0.4418, allocations: 381.7 kB / 329.7 MB, free: 15.44 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000174/0.442, allocations: 67.08 kB / 329.8 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.995e-05/0.442, allocations: 3.281 kB / 329.8 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.944e-05/0.4421, allocations: 4.594 kB / 329.8 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.4422, allocations: 58.36 kB / 329.9 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000187/0.4424, allocations: 140.2 kB / 330 MB, free: 15.25 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003986/0.4428, allocations: 340 kB / 330.3 MB, free: 15 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.4428, allocations: 0 / 330.3 MB, free: 15 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.767e-06/0.4428, allocations: 0.9375 kB / 330.3 MB, free: 15 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.4429, allocations: 0 / 330.3 MB, free: 15 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.0009355/0.4438, allocations: 0.6622 MB / 331 MB, free: 14.33 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.434e-05/0.4439, allocations: 10.22 kB / 331 MB, free: 14.33 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.678e-05/0.444, allocations: 33.94 kB / 331 MB, free: 14.32 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003567/0.4443, allocations: 273.5 kB / 331.3 MB, free: 14.04 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.087e-05/0.4444, allocations: 13 kB / 331.3 MB, free: 14.04 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.871e-05/0.4444, allocations: 12.41 kB / 331.3 MB, free: 14.03 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004223/0.4449, allocations: 127.4 kB / 331.5 MB, free: 13.95 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.4449, allocations: 3.938 kB / 331.5 MB, free: 13.95 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.025e-05/0.4449, allocations: 4.188 kB / 331.5 MB, free: 13.95 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.445, allocations: 4.812 kB / 331.5 MB, free: 13.94 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001927/0.4452, allocations: 57.19 kB / 331.5 MB, free: 13.92 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.4462, allocations: 457.4 kB / 332 MB, free: 13.51 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002969/0.4465, allocations: 99.45 kB / 332.1 MB, free: 13.44 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002242/0.4468, allocations: 83.11 kB / 332.2 MB, free: 13.39 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.4468, allocations: 1.156 kB / 332.2 MB, free: 13.39 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005644/0.4474, allocations: 203.9 kB / 332.4 MB, free: 13.22 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 2.043e-06/0.4474, allocations: 0 / 332.4 MB, free: 13.22 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.001192/0.4486, allocations: 474.5 kB / 332.8 MB, free: 12.93 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00014/0.4487, allocations: 169.1 kB / 333 MB, free: 12.73 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/0.4499, allocations: 0.5134 MB / 333.5 MB, free: 12.39 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.301e-05/0.4499, allocations: 32.8 kB / 333.5 MB, free: 12.36 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.73e-05/0.45, allocations: 101.3 kB / 333.6 MB, free: 12.26 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.97e-05/0.4501, allocations: 31.12 kB / 333.7 MB, free: 12.24 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.713e-05/0.4502, allocations: 25.14 kB / 333.7 MB, free: 12.21 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.4503, allocations: 326 kB / 334 MB, free: 11.89 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.4505, allocations: 58.66 kB / 334.1 MB, free: 11.86 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/0.4506, allocations: 71 kB / 334.1 MB, free: 11.82 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004339/0.4511, allocations: 348.1 kB / 334.5 MB, free: 11.49 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.4511, allocations: 0 / 334.5 MB, free: 11.49 MB / 270.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006284/0.4517, allocations: 379.5 kB / 334.8 MB, free: 11.14 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001239/0.4519, allocations: 126.8 kB / 335 MB, free: 10.99 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.4519, allocations: 0 / 335 MB, free: 10.99 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.4519, allocations: 0 / 335 MB, free: 10.99 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.442e-05/0.452, allocations: 4 kB / 335 MB, free: 10.99 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.452, allocations: 4 kB / 335 MB, free: 10.98 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002209/0.4522, allocations: 12.03 kB / 335 MB, free: 10.97 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.417e-05/0.4523, allocations: 43.98 kB / 335 MB, free: 10.93 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.000444/0.4527, allocations: 362.2 kB / 335.4 MB, free: 10.54 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.75e-05/0.4528, allocations: 39.53 kB / 335.4 MB, free: 10.5 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.453, allocations: 67.14 kB / 335.5 MB, free: 10.43 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.453, allocations: 0 / 335.5 MB, free: 10.43 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.453, allocations: 0 / 335.5 MB, free: 10.43 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.453, allocations: 3.984 kB / 335.5 MB, free: 10.43 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.4542, allocations: 0.8137 MB / 336.3 MB, free: 9.531 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.4542, allocations: 3.984 kB / 336.3 MB, free: 9.527 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.074e-05/0.4542, allocations: 4 kB / 336.3 MB, free: 9.523 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.4543, allocations: 0 / 336.3 MB, free: 9.523 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.977e-05/0.4543, allocations: 15.94 kB / 336.3 MB, free: 9.508 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.4543, allocations: 192 / 336.3 MB, free: 9.508 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.4543, allocations: 3.938 kB / 336.3 MB, free: 9.504 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006675/0.455, allocations: 0.529 MB / 336.9 MB, free: 8.934 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003218/0.4553, allocations: 248.5 kB / 337.1 MB, free: 8.672 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.028e-05/0.4554, allocations: 12 kB / 337.1 MB, free: 8.66 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.4555, allocations: 15.89 kB / 337.1 MB, free: 8.645 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.4557, allocations: 31.91 kB / 337.2 MB, free: 8.613 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.201e-05/0.4557, allocations: 43.88 kB / 337.2 MB, free: 8.57 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.000543/0.4563, allocations: 390.9 kB / 337.6 MB, free: 8.191 MB / 270.1 MB Notification: Performance of sort global known variables: time 7.32e-07/0.4563, allocations: 0 / 337.6 MB, free: 8.191 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000368/0.4567, allocations: 48 kB / 337.6 MB, free: 8.145 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.0002234/0.4569, allocations: 111 kB / 337.7 MB, free: 8.027 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000695/0.4576, allocations: 441.5 kB / 338.2 MB, free: 7.547 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.4576, allocations: 0 / 338.2 MB, free: 7.547 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004178/0.4581, allocations: 373.6 kB / 338.5 MB, free: 7.133 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007853/0.4589, allocations: 109.5 kB / 338.6 MB, free: 7.023 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.4604, allocations: 0.7545 MB / 339.4 MB, free: 6.246 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005645/0.4609, allocations: 0.8064 MB / 340.2 MB, free: 5.414 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.744e-05/0.461, allocations: 8.656 kB / 340.2 MB, free: 5.402 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.225e-05/0.4611, allocations: 11.44 kB / 340.2 MB, free: 5.391 MB / 270.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4611, allocations: 0 / 340.2 MB, free: 5.391 MB / 270.1 MB Notification: Performance of Templates: time 0.009028/0.4701, allocations: 3.989 MB / 344.2 MB, free: 1.355 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)