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.00758/0.00758, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001246/0.001247, allocations: 197.2 kB / 16.68 MB, free: 5.93 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.78/1.78, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.001278/0.001278, allocations: 55.08 kB / 326.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1431, allocations: 46.62 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.003567/0.1467, allocations: 1.494 MB / 374.7 MB, free: 15.8 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002282/0.149, allocations: 0.8975 MB / 375.6 MB, free: 14.9 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.099e-05/0.1491, allocations: 0 / 375.6 MB, free: 14.9 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001269/0.1493, allocations: 11.86 kB / 375.6 MB, free: 14.89 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.1494, allocations: 19.86 kB / 375.6 MB, free: 14.87 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003029/0.1497, allocations: 51.88 kB / 375.6 MB, free: 14.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002263/0.1499, allocations: 159.7 kB / 375.8 MB, free: 14.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.1501, allocations: 15.98 kB / 375.8 MB, free: 14.64 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004751/0.1505, allocations: 383.3 kB / 376.2 MB, free: 14.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.1507, allocations: 71.69 kB / 376.3 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.887e-05/0.1507, allocations: 8 kB / 376.3 MB, free: 14.19 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.386e-05/0.1508, allocations: 12 kB / 376.3 MB, free: 14.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.69e-05/0.1509, allocations: 67.64 kB / 376.3 MB, free: 14.11 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.151, allocations: 111.2 kB / 376.5 MB, free: 14 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003558/0.1514, allocations: 362.6 kB / 376.8 MB, free: 13.65 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.1514, allocations: 0 / 376.8 MB, free: 13.65 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1514, allocations: 0 / 376.8 MB, free: 13.65 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.1514, allocations: 0 / 376.8 MB, free: 13.65 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.0008247/0.1522, allocations: 0.7189 MB / 377.5 MB, free: 12.86 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.1523, allocations: 12.03 kB / 377.5 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8e-05/0.1524, allocations: 36.47 kB / 377.6 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003347/0.1527, allocations: 270.3 kB / 377.8 MB, free: 12.5 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/0.1527, allocations: 12.38 kB / 377.8 MB, free: 12.49 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.992e-05/0.1528, allocations: 8.375 kB / 377.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003047/0.1531, allocations: 129.9 kB / 378 MB, free: 12.35 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.1531, allocations: 0 / 378 MB, free: 12.35 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/0.1531, allocations: 4 kB / 378 MB, free: 12.35 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.1532, allocations: 4 kB / 378 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.1533, allocations: 55.97 kB / 378 MB, free: 12.29 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007259/0.154, allocations: 472.3 kB / 378.5 MB, free: 11.78 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.1542, allocations: 94.55 kB / 378.6 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.1544, allocations: 84.89 kB / 378.7 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.1544, allocations: 0 / 378.7 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003826/0.1548, allocations: 206.6 kB / 378.9 MB, free: 11.36 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.492e-06/0.1548, allocations: 0 / 378.9 MB, free: 11.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008232/0.1557, allocations: 468 kB / 379.3 MB, free: 10.88 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/0.1558, allocations: 170.2 kB / 379.5 MB, free: 10.67 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000693/0.1565, allocations: 0.513 MB / 380 MB, free: 10.15 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.395e-05/0.1565, allocations: 29.7 kB / 380.1 MB, free: 10.11 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.876e-05/0.1566, allocations: 101.1 kB / 380.1 MB, free: 10.01 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.618e-05/0.1567, allocations: 31.61 kB / 380.2 MB, free: 9.98 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.1568, allocations: 85.41 kB / 380.3 MB, free: 9.891 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.157, allocations: 322.8 kB / 380.6 MB, free: 9.566 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.1571, allocations: 55.97 kB / 380.6 MB, free: 9.512 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.1572, allocations: 77.67 kB / 380.7 MB, free: 9.43 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003389/0.1576, allocations: 343.2 kB / 381 MB, free: 9.039 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1576, allocations: 0 / 381 MB, free: 9.039 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004971/0.1581, allocations: 376.4 kB / 381.4 MB, free: 8.641 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001443/0.1583, allocations: 131.8 kB / 381.5 MB, free: 8.488 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.1583, allocations: 0 / 381.5 MB, free: 8.488 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.885e-05/0.1583, allocations: 0 / 381.5 MB, free: 8.488 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.484e-05/0.1583, allocations: 7.969 kB / 381.5 MB, free: 8.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.1584, allocations: 7.938 kB / 381.6 MB, free: 8.473 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.1585, allocations: 11.98 kB / 381.6 MB, free: 8.461 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.477e-05/0.1586, allocations: 48.06 kB / 381.6 MB, free: 8.414 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.00046/0.1591, allocations: 374.2 kB / 382 MB, free: 8.012 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.519e-05/0.1591, allocations: 39.53 kB / 382 MB, free: 7.973 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.1593, allocations: 59.16 kB / 382.1 MB, free: 7.914 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.1593, allocations: 4 kB / 382.1 MB, free: 7.91 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.1593, allocations: 4 kB / 382.1 MB, free: 7.906 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.1593, allocations: 3.984 kB / 382.1 MB, free: 7.902 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.1605, allocations: 0.8059 MB / 382.9 MB, free: 7.016 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1605, allocations: 3.938 kB / 382.9 MB, free: 7.012 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.42e-06/0.1605, allocations: 0 / 382.9 MB, free: 7.012 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.1605, allocations: 0 / 382.9 MB, free: 7.012 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.09e-05/0.1606, allocations: 12 kB / 382.9 MB, free: 7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1606, allocations: 0 / 382.9 MB, free: 7 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.1606, allocations: 3.938 kB / 382.9 MB, free: 6.996 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006658/0.1613, allocations: 0.5291 MB / 383.4 MB, free: 6.426 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003144/0.1616, allocations: 244.5 kB / 383.7 MB, free: 6.168 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.266e-05/0.1616, allocations: 11.98 kB / 383.7 MB, free: 6.156 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.1618, allocations: 12 kB / 383.7 MB, free: 6.145 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.1619, allocations: 31.89 kB / 383.7 MB, free: 6.113 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-05/0.162, allocations: 40 kB / 383.8 MB, free: 6.074 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004476/0.1624, allocations: 390.9 kB / 384.2 MB, free: 5.691 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1624, allocations: 0 / 384.2 MB, free: 5.691 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002822/0.1627, allocations: 48 kB / 384.2 MB, free: 5.645 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.0001957/0.1629, allocations: 118.9 kB / 384.3 MB, free: 5.52 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000553/0.1635, allocations: 441.5 kB / 384.8 MB, free: 5.039 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1635, allocations: 0 / 384.8 MB, free: 5.039 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003486/0.1638, allocations: 373.8 kB / 385.1 MB, free: 4.625 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007458/0.1646, allocations: 129.3 kB / 385.2 MB, free: 4.5 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.1663, allocations: 0.6653 MB / 385.9 MB, free: 3.809 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007652/0.1671, allocations: 0.8061 MB / 386.7 MB, free: 2.973 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.08e-05/0.1672, allocations: 8.656 kB / 386.7 MB, free: 2.961 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.164e-05/0.1672, allocations: 11.44 kB / 386.7 MB, free: 2.949 MB / 318.1 MB Notification: Performance of SimCode: time 3e-07/0.1672, allocations: 0 / 386.7 MB, free: 2.949 MB / 318.1 MB Notification: Performance of Templates: time 0.01249/0.1797, allocations: 4.503 MB / 391.2 MB, free: 14.39 MB / 334.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)