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.0109/0.0109, allocations: 101.7 kB / 15.73 MB, free: 6.477 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.001906/0.001906, allocations: 189.8 kB / 16.67 MB, free: 6.391 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.801/1.801, allocations: 205.1 MB / 222.5 MB, free: 4.57 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.001249/0.001249, allocations: 51.11 kB / 326.5 MB, free: 14.26 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1308, allocations: 46.63 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.003282/0.1341, allocations: 1.498 MB / 374.7 MB, free: 15.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002201/0.1364, allocations: 0.8936 MB / 375.6 MB, free: 14.92 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.826e-05/0.1364, allocations: 0 / 375.6 MB, free: 14.92 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.97e-05/0.1366, allocations: 11.92 kB / 375.6 MB, free: 14.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.441e-05/0.1367, allocations: 19.8 kB / 375.6 MB, free: 14.89 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002958/0.137, allocations: 55.88 kB / 375.7 MB, free: 14.83 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000231/0.1372, allocations: 147.7 kB / 375.8 MB, free: 14.69 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.1373, allocations: 23.98 kB / 375.8 MB, free: 14.66 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000497/0.1378, allocations: 399.2 kB / 376.2 MB, free: 14.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.138, allocations: 59.77 kB / 376.3 MB, free: 14.21 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.979e-05/0.138, allocations: 12 kB / 376.3 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.8e-05/0.1381, allocations: 8 kB / 376.3 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.1382, allocations: 67.7 kB / 376.4 MB, free: 14.13 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001553/0.1384, allocations: 111.2 kB / 376.5 MB, free: 14.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003695/0.1388, allocations: 366.7 kB / 376.8 MB, free: 13.66 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1388, allocations: 0 / 376.8 MB, free: 13.66 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.707e-06/0.1388, allocations: 0 / 376.8 MB, free: 13.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.1388, allocations: 3.938 kB / 376.8 MB, free: 13.66 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.00077/0.1396, allocations: 0.7189 MB / 377.5 MB, free: 12.86 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.1396, allocations: 11.97 kB / 377.6 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.461e-05/0.1397, allocations: 40.47 kB / 377.6 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/0.14, allocations: 266.3 kB / 377.9 MB, free: 12.51 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.14, allocations: 12.38 kB / 377.9 MB, free: 12.5 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/0.1401, allocations: 12.38 kB / 377.9 MB, free: 12.49 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002938/0.1404, allocations: 121.9 kB / 378 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1404, allocations: 0 / 378 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.341e-05/0.1404, allocations: 7.984 kB / 378 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1404, allocations: 0 / 378 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000146/0.1406, allocations: 59.95 kB / 378.1 MB, free: 12.3 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006605/0.1412, allocations: 472.4 kB / 378.5 MB, free: 11.79 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.1414, allocations: 98.53 kB / 378.6 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.1416, allocations: 84.89 kB / 378.7 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.1416, allocations: 0 / 378.7 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004136/0.1421, allocations: 202.6 kB / 378.9 MB, free: 11.37 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.1421, allocations: 0 / 378.9 MB, free: 11.37 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008466/0.1429, allocations: 472 kB / 379.4 MB, free: 10.88 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001415/0.1431, allocations: 170.2 kB / 379.5 MB, free: 10.68 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000662/0.1437, allocations: 0.5169 MB / 380 MB, free: 10.15 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.1438, allocations: 29.7 kB / 380.1 MB, free: 10.11 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.305e-05/0.1439, allocations: 97.12 kB / 380.2 MB, free: 10.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.892e-05/0.1439, allocations: 31.55 kB / 380.2 MB, free: 9.984 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.144, allocations: 85.41 kB / 380.3 MB, free: 9.895 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1442, allocations: 322.8 kB / 380.6 MB, free: 9.57 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.1443, allocations: 55.97 kB / 380.7 MB, free: 9.516 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.1444, allocations: 77.67 kB / 380.7 MB, free: 9.434 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000372/0.1448, allocations: 335.3 kB / 381.1 MB, free: 9.051 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1448, allocations: 0 / 381.1 MB, free: 9.051 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005018/0.1453, allocations: 384.4 kB / 381.4 MB, free: 8.645 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.639e-05/0.1454, allocations: 126.7 kB / 381.6 MB, free: 8.496 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1455, allocations: 0 / 381.6 MB, free: 8.496 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.1455, allocations: 4 kB / 381.6 MB, free: 8.492 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.325e-05/0.1455, allocations: 0 / 381.6 MB, free: 8.492 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.1455, allocations: 4.031 kB / 381.6 MB, free: 8.488 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.1457, allocations: 11.98 kB / 381.6 MB, free: 8.477 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.098e-05/0.1457, allocations: 47.94 kB / 381.6 MB, free: 8.43 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.000401/0.1461, allocations: 378.1 kB / 382 MB, free: 8.023 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.715e-05/0.1462, allocations: 39.53 kB / 382 MB, free: 7.984 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/0.1463, allocations: 63.14 kB / 382.1 MB, free: 7.922 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1463, allocations: 0 / 382.1 MB, free: 7.922 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.1463, allocations: 0 / 382.1 MB, free: 7.922 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1463, allocations: 4 kB / 382.1 MB, free: 7.918 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009435/0.1473, allocations: 0.8133 MB / 382.9 MB, free: 7.023 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1473, allocations: 0 / 382.9 MB, free: 7.023 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.222e-06/0.1473, allocations: 4 kB / 382.9 MB, free: 7.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1473, allocations: 3.938 kB / 382.9 MB, free: 7.016 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.866e-05/0.1474, allocations: 11.98 kB / 382.9 MB, free: 7.004 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1474, allocations: 192 / 382.9 MB, free: 7.004 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.1474, allocations: 7.938 kB / 382.9 MB, free: 6.996 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006287/0.148, allocations: 0.5294 MB / 383.5 MB, free: 6.426 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002783/0.1483, allocations: 244.5 kB / 383.7 MB, free: 6.168 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.606e-05/0.1483, allocations: 8 kB / 383.7 MB, free: 6.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.1485, allocations: 12 kB / 383.7 MB, free: 6.148 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.1486, allocations: 23.91 kB / 383.7 MB, free: 6.125 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.632e-05/0.1487, allocations: 47.98 kB / 383.8 MB, free: 6.078 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004307/0.1491, allocations: 386.9 kB / 384.2 MB, free: 5.699 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1491, allocations: 0 / 384.2 MB, free: 5.699 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.1494, allocations: 40 kB / 384.2 MB, free: 5.66 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.0001569/0.1495, allocations: 123 kB / 384.3 MB, free: 5.531 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005288/0.1501, allocations: 437.4 kB / 384.8 MB, free: 5.055 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1501, allocations: 0 / 384.8 MB, free: 5.055 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003177/0.1504, allocations: 377.6 kB / 385.1 MB, free: 4.637 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005763/0.151, allocations: 129.2 kB / 385.3 MB, free: 4.512 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.1521, allocations: 0.6653 MB / 385.9 MB, free: 3.82 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004508/0.1526, allocations: 0.8022 MB / 386.7 MB, free: 2.988 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.597e-05/0.1527, allocations: 8.656 kB / 386.7 MB, free: 2.977 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.639e-05/0.1527, allocations: 11.44 kB / 386.7 MB, free: 2.965 MB / 318.1 MB Notification: Performance of SimCode: time 7.42e-07/0.1527, allocations: 0 / 386.7 MB, free: 2.965 MB / 318.1 MB Notification: Performance of Templates: time 0.008186/0.1609, allocations: 4.515 MB / 391.3 MB, free: 14.4 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)