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.0103/0.0103, allocations: 99.84 kB / 15.73 MB, free: 6.016 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.001804/0.001804, allocations: 189.6 kB / 16.67 MB, free: 5.938 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.824/1.824, allocations: 205.1 MB / 222.5 MB, free: 4.371 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.001188/0.001188, allocations: 50.08 kB / 326.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1333, allocations: 46.62 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.00307/0.1364, allocations: 1.513 MB / 374.7 MB, free: 15.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002055/0.1385, allocations: 0.8975 MB / 375.6 MB, free: 14.87 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.364e-05/0.1386, allocations: 0 / 375.6 MB, free: 14.87 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001155/0.1387, allocations: 11.88 kB / 375.6 MB, free: 14.86 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.058e-05/0.1388, allocations: 15.86 kB / 375.6 MB, free: 14.84 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003078/0.1391, allocations: 51.88 kB / 375.7 MB, free: 14.79 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002403/0.1394, allocations: 151.7 kB / 375.8 MB, free: 14.64 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.1395, allocations: 23.97 kB / 375.8 MB, free: 14.62 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004615/0.14, allocations: 383.3 kB / 376.2 MB, free: 14.24 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.1402, allocations: 59.77 kB / 376.3 MB, free: 14.18 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.896e-05/0.1402, allocations: 12 kB / 376.3 MB, free: 14.17 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.741e-05/0.1403, allocations: 15.94 kB / 376.3 MB, free: 14.16 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.751e-05/0.1404, allocations: 59.77 kB / 376.3 MB, free: 14.1 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.1405, allocations: 119.1 kB / 376.5 MB, free: 13.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003968/0.1409, allocations: 354.5 kB / 376.8 MB, free: 13.63 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.1409, allocations: 4 kB / 376.8 MB, free: 13.63 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.696e-06/0.1409, allocations: 0 / 376.8 MB, free: 13.63 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.1409, allocations: 3.938 kB / 376.8 MB, free: 13.62 MB / 318.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.0008637/0.1418, allocations: 0.7305 MB / 377.5 MB, free: 12.82 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.1419, allocations: 12.03 kB / 377.6 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.042e-05/0.142, allocations: 44.69 kB / 377.6 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003354/0.1423, allocations: 270.7 kB / 377.9 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.1423, allocations: 8.375 kB / 377.9 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.307e-05/0.1424, allocations: 12.31 kB / 377.9 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003537/0.1427, allocations: 137.9 kB / 378 MB, free: 12.3 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.1428, allocations: 0 / 378 MB, free: 12.3 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.1428, allocations: 4 kB / 378 MB, free: 12.3 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.1428, allocations: 0 / 378 MB, free: 12.3 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.143, allocations: 55.97 kB / 378.1 MB, free: 12.24 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000725/0.1437, allocations: 468.5 kB / 378.5 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.1439, allocations: 94.55 kB / 378.6 MB, free: 11.63 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.1441, allocations: 84.88 kB / 378.7 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.1441, allocations: 0 / 378.7 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000409/0.1445, allocations: 198.7 kB / 378.9 MB, free: 11.33 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 3.186e-06/0.1445, allocations: 0 / 378.9 MB, free: 11.33 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008808/0.1454, allocations: 476.2 kB / 379.4 MB, free: 10.83 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.1455, allocations: 166.2 kB / 379.5 MB, free: 10.63 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006733/0.1462, allocations: 0.5168 MB / 380 MB, free: 10.11 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.267e-05/0.1463, allocations: 33.7 kB / 380.1 MB, free: 10.07 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.094e-05/0.1464, allocations: 93.14 kB / 380.2 MB, free: 9.973 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.499e-05/0.1464, allocations: 43.66 kB / 380.2 MB, free: 9.93 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.1466, allocations: 77.56 kB / 380.3 MB, free: 9.848 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.1467, allocations: 330.8 kB / 380.6 MB, free: 9.516 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.1469, allocations: 60.08 kB / 380.7 MB, free: 9.457 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.147, allocations: 77.61 kB / 380.7 MB, free: 9.375 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003799/0.1474, allocations: 335.3 kB / 381.1 MB, free: 8.992 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1474, allocations: 0 / 381.1 MB, free: 8.992 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005456/0.148, allocations: 380.2 kB / 381.4 MB, free: 8.59 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/0.1481, allocations: 135.9 kB / 381.6 MB, free: 8.434 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1481, allocations: 0 / 381.6 MB, free: 8.434 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.1482, allocations: 4 kB / 381.6 MB, free: 8.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.41e-05/0.1482, allocations: 128 / 381.6 MB, free: 8.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1482, allocations: 0 / 381.6 MB, free: 8.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.1483, allocations: 15.98 kB / 381.6 MB, free: 8.414 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.855e-05/0.1484, allocations: 43.94 kB / 381.6 MB, free: 8.371 MB / 318.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.0003608/0.1488, allocations: 370.1 kB / 382 MB, free: 7.973 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.053e-05/0.1488, allocations: 39.77 kB / 382 MB, free: 7.934 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.1489, allocations: 71.14 kB / 382.1 MB, free: 7.863 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.149, allocations: 3.984 kB / 382.1 MB, free: 7.859 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.149, allocations: 0 / 382.1 MB, free: 7.859 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.149, allocations: 0 / 382.1 MB, free: 7.859 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.15, allocations: 0.8095 MB / 382.9 MB, free: 6.969 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.15, allocations: 0 / 382.9 MB, free: 6.969 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.871e-06/0.15, allocations: 7.938 kB / 382.9 MB, free: 6.961 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.15, allocations: 0 / 382.9 MB, free: 6.961 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.631e-05/0.1501, allocations: 8 kB / 382.9 MB, free: 6.953 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.1501, allocations: 7.984 kB / 382.9 MB, free: 6.945 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.1501, allocations: 3.938 kB / 383 MB, free: 6.941 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006548/0.1507, allocations: 0.5257 MB / 383.5 MB, free: 6.375 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003261/0.1511, allocations: 252.6 kB / 383.7 MB, free: 6.109 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.581e-05/0.1511, allocations: 12 kB / 383.7 MB, free: 6.098 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.1513, allocations: 8 kB / 383.7 MB, free: 6.09 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.1514, allocations: 27.91 kB / 383.8 MB, free: 6.062 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.865e-05/0.1515, allocations: 43.98 kB / 383.8 MB, free: 6.02 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005243/0.152, allocations: 394.8 kB / 384.2 MB, free: 5.633 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.152, allocations: 0 / 384.2 MB, free: 5.633 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002885/0.1523, allocations: 44 kB / 384.2 MB, free: 5.59 MB / 318.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.0001612/0.1525, allocations: 115 kB / 384.4 MB, free: 5.469 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005946/0.1531, allocations: 441.6 kB / 384.8 MB, free: 4.988 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.1531, allocations: 0 / 384.8 MB, free: 4.988 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003467/0.1535, allocations: 377.6 kB / 385.2 MB, free: 4.57 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006616/0.1541, allocations: 125.2 kB / 385.3 MB, free: 4.449 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.1553, allocations: 0.6608 MB / 385.9 MB, free: 3.762 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004915/0.1558, allocations: 0.806 MB / 386.7 MB, free: 2.926 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.675e-05/0.1559, allocations: 12.66 kB / 386.8 MB, free: 2.91 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.544e-05/0.1559, allocations: 11.44 kB / 386.8 MB, free: 2.898 MB / 318.1 MB Notification: Performance of SimCode: time 7.91e-07/0.1559, allocations: 0 / 386.8 MB, free: 2.898 MB / 318.1 MB Notification: Performance of Templates: time 0.008642/0.1645, allocations: 4.518 MB / 391.3 MB, free: 14.32 MB / 334.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)