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.01133/0.01133, allocations: 102.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.001874/0.001874, allocations: 193.2 kB / 16.67 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.855/1.855, allocations: 205.1 MB / 222.5 MB, free: 4.48 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.00188/0.00188, allocations: 51.06 kB / 326.5 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1658, allocations: 46.63 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.003763/0.1696, allocations: 1.505 MB / 374.7 MB, free: 15.8 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002495/0.1722, allocations: 0.8897 MB / 375.6 MB, free: 14.91 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.788e-05/0.1723, allocations: 4 kB / 375.6 MB, free: 14.9 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001322/0.1725, allocations: 11.92 kB / 375.6 MB, free: 14.89 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.1726, allocations: 19.8 kB / 375.6 MB, free: 14.87 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003987/0.173, allocations: 55.88 kB / 375.7 MB, free: 14.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002567/0.1733, allocations: 147.7 kB / 375.8 MB, free: 14.67 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001891/0.1735, allocations: 23.97 kB / 375.8 MB, free: 14.65 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005831/0.174, allocations: 395.2 kB / 376.2 MB, free: 14.26 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.1742, allocations: 63.7 kB / 376.3 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.411e-05/0.1743, allocations: 16 kB / 376.3 MB, free: 14.18 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.829e-05/0.1743, allocations: 8 kB / 376.3 MB, free: 14.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001364/0.1744, allocations: 67.7 kB / 376.4 MB, free: 14.11 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001524/0.1746, allocations: 119.2 kB / 376.5 MB, free: 13.99 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004793/0.1751, allocations: 354.7 kB / 376.8 MB, free: 13.64 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.1751, allocations: 4 kB / 376.8 MB, free: 13.64 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.1751, allocations: 0 / 376.8 MB, free: 13.64 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.1751, allocations: 0 / 376.8 MB, free: 13.64 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.001033/0.1762, allocations: 0.7188 MB / 377.5 MB, free: 12.85 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.037e-05/0.1762, allocations: 8.031 kB / 377.5 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.1763, allocations: 44.47 kB / 377.6 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004068/0.1768, allocations: 270.4 kB / 377.9 MB, free: 12.49 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.1768, allocations: 12.3 kB / 377.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.454e-05/0.1768, allocations: 8.375 kB / 377.9 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003805/0.1772, allocations: 121.9 kB / 378 MB, free: 12.35 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.1773, allocations: 0 / 378 MB, free: 12.35 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.181e-05/0.1773, allocations: 8 kB / 378 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.1773, allocations: 0 / 378 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.1775, allocations: 59.95 kB / 378.1 MB, free: 12.28 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008905/0.1784, allocations: 468.4 kB / 378.5 MB, free: 11.77 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/0.1786, allocations: 98.53 kB / 378.6 MB, free: 11.67 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/0.1788, allocations: 80.89 kB / 378.7 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.1788, allocations: 0 / 378.7 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005424/0.1794, allocations: 206.6 kB / 378.9 MB, free: 11.36 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.034e-06/0.1794, allocations: 0 / 378.9 MB, free: 11.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.001032/0.1804, allocations: 476 kB / 379.4 MB, free: 10.86 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001501/0.1806, allocations: 166.2 kB / 379.5 MB, free: 10.66 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009266/0.1815, allocations: 0.5169 MB / 380 MB, free: 10.14 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/0.1816, allocations: 29.7 kB / 380.1 MB, free: 10.1 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002777/0.1818, allocations: 101.1 kB / 380.2 MB, free: 10 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.516e-05/0.1819, allocations: 27.56 kB / 380.2 MB, free: 9.973 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001494/0.1821, allocations: 81.41 kB / 380.3 MB, free: 9.887 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002496/0.1823, allocations: 326.8 kB / 380.6 MB, free: 9.559 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.1825, allocations: 55.97 kB / 380.6 MB, free: 9.504 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000176/0.1827, allocations: 73.67 kB / 380.7 MB, free: 9.426 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005891/0.1833, allocations: 339.3 kB / 381.1 MB, free: 9.039 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1833, allocations: 0 / 381.1 MB, free: 9.039 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007202/0.184, allocations: 384.4 kB / 381.4 MB, free: 8.633 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001705/0.1842, allocations: 127.9 kB / 381.6 MB, free: 8.484 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.1842, allocations: 4 kB / 381.6 MB, free: 8.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.603e-05/0.1843, allocations: 0 / 381.6 MB, free: 8.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.896e-05/0.1843, allocations: 3.938 kB / 381.6 MB, free: 8.477 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.1843, allocations: 0 / 381.6 MB, free: 8.477 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.1845, allocations: 20.11 kB / 381.6 MB, free: 8.457 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.662e-05/0.1846, allocations: 43.94 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.0004446/0.1851, allocations: 374.1 kB / 382 MB, free: 8.012 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.087e-05/0.1852, allocations: 39.53 kB / 382 MB, free: 7.973 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001282/0.1853, allocations: 71.14 kB / 382.1 MB, free: 7.902 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1853, allocations: 0 / 382.1 MB, free: 7.902 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.1853, allocations: 0 / 382.1 MB, free: 7.902 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.1853, allocations: 3.984 kB / 382.1 MB, free: 7.898 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/0.1865, allocations: 0.8095 MB / 382.9 MB, free: 7.008 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.1866, allocations: 0 / 382.9 MB, free: 7.008 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.212e-06/0.1866, allocations: 0 / 382.9 MB, free: 7.008 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1866, allocations: 0 / 382.9 MB, free: 7.008 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.61e-05/0.1866, allocations: 15.98 kB / 382.9 MB, free: 6.992 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.1866, allocations: 0 / 382.9 MB, free: 6.992 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.1866, allocations: 15.88 kB / 382.9 MB, free: 6.977 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008885/0.1875, allocations: 0.5174 MB / 383.5 MB, free: 6.418 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000407/0.188, allocations: 244.5 kB / 383.7 MB, free: 6.16 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.55e-05/0.1881, allocations: 12 kB / 383.7 MB, free: 6.148 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.1882, allocations: 8 kB / 383.7 MB, free: 6.141 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/0.1884, allocations: 31.91 kB / 383.7 MB, free: 6.109 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.12e-05/0.1885, allocations: 39.98 kB / 383.8 MB, free: 6.07 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006232/0.1891, allocations: 390.9 kB / 384.2 MB, free: 5.688 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1891, allocations: 0 / 384.2 MB, free: 5.688 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003185/0.1894, allocations: 40 kB / 384.2 MB, free: 5.648 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.0002548/0.1897, allocations: 119 kB / 384.3 MB, free: 5.523 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000754/0.1905, allocations: 441.9 kB / 384.8 MB, free: 5.043 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.1905, allocations: 0 / 384.8 MB, free: 5.043 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004487/0.1909, allocations: 377.7 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.0007901/0.1917, allocations: 137.4 kB / 385.3 MB, free: 4.492 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.1932, allocations: 0.6574 MB / 385.9 MB, free: 3.809 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005851/0.1938, allocations: 0.8022 MB / 386.7 MB, free: 2.977 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.27e-05/0.1939, allocations: 8.656 kB / 386.7 MB, free: 2.965 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.557e-05/0.194, allocations: 11.44 kB / 386.7 MB, free: 2.953 MB / 318.1 MB Notification: Performance of SimCode: time 4.81e-07/0.194, allocations: 0 / 386.7 MB, free: 2.953 MB / 318.1 MB Notification: Performance of Templates: time 0.01239/0.2064, allocations: 4.604 MB / 391.3 MB, free: 14.3 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)