Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) 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(ModelicaTest.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks") translateModel(ModelicaTest.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008564/0.0008564, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001094/0.001094, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.866/1.866, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3969/0.3969, allocations: 39.99 MB / 310.4 MB, free: 9.996 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009709/0.0009713, allocations: 16 kB / 378.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1663, allocations: 57.97 MB / 436.8 MB, free: 2.551 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002637/0.169, allocations: 1.725 MB / 438.5 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002154/0.1712, allocations: 1.205 MB / 439.7 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.8e-05/0.1713, allocations: 7.938 kB / 439.7 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.059e-05/0.1714, allocations: 15.84 kB / 439.7 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001211/0.1715, allocations: 11.86 kB / 439.8 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004626/0.172, allocations: 151.5 kB / 439.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000221/0.1722, allocations: 168.1 kB / 440.1 MB, free: 15.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002994/0.1725, allocations: 81.55 kB / 440.2 MB, free: 15.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.1726, allocations: 59.66 kB / 440.2 MB, free: 15.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.1728, allocations: 59.64 kB / 440.3 MB, free: 15.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.1728, allocations: 8 kB / 440.3 MB, free: 15.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002898/0.1731, allocations: 127.9 kB / 440.4 MB, free: 14.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.098e-05/0.1731, allocations: 27.84 kB / 440.4 MB, free: 14.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.408e-05/0.1732, allocations: 53.58 kB / 440.5 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000281/0.1735, allocations: 219.7 kB / 440.7 MB, free: 14.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.1735, allocations: 0 / 440.7 MB, free: 14.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1735, allocations: 0 / 440.7 MB, free: 14.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.1735, allocations: 0 / 440.7 MB, free: 14.62 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0006406/0.1742, allocations: 491 kB / 441.2 MB, free: 14.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.1742, allocations: 16.03 kB / 441.2 MB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008137/0.175, allocations: 67.7 kB / 441.3 MB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.1752, allocations: 186.7 kB / 441.4 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.1752, allocations: 20.56 kB / 441.5 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.119e-05/0.1753, allocations: 24 kB / 441.5 MB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003679/0.1757, allocations: 204.9 kB / 441.7 MB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.1757, allocations: 4 kB / 441.7 MB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.1757, allocations: 8 kB / 441.7 MB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.1757, allocations: 8 kB / 441.7 MB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002658/0.176, allocations: 158 kB / 441.9 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008685/0.1769, allocations: 0.5812 MB / 442.4 MB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005312/0.1774, allocations: 235.4 kB / 442.7 MB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.1776, allocations: 65.3 kB / 442.7 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.21e-05/0.1776, allocations: 8.234 kB / 442.7 MB, free: 12.42 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.1776, allocations: 30.8 kB / 442.8 MB, free: 12.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.313e-06/0.1777, allocations: 4 kB / 442.8 MB, free: 12.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.0005413/0.1782, allocations: 227 kB / 443 MB, free: 12.15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.1783, allocations: 55.34 kB / 443 MB, free: 12.08 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.1784, allocations: 105.8 kB / 443.2 MB, free: 11.97 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.1784, allocations: 25.7 kB / 443.2 MB, free: 11.94 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.436e-05/0.1785, allocations: 132.6 kB / 443.3 MB, free: 11.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.752e-05/0.1786, allocations: 94.66 kB / 443.4 MB, free: 11.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.367e-06/0.1786, allocations: 4 kB / 443.4 MB, free: 11.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1788, allocations: 326.8 kB / 443.7 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.482e-05/0.1789, allocations: 47.95 kB / 443.8 MB, free: 11.33 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.747e-05/0.179, allocations: 44.91 kB / 443.8 MB, free: 11.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.1791, allocations: 52.45 kB / 443.9 MB, free: 11.24 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1791, allocations: 4 kB / 443.9 MB, free: 11.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002847/0.1794, allocations: 173.4 kB / 444 MB, free: 11.06 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.1795, allocations: 8 kB / 444 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.1795, allocations: 0 / 444 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.1795, allocations: 256 / 444 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003704/0.1799, allocations: 99.94 kB / 444.1 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.1799, allocations: 8 kB / 444.2 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.664e-05/0.18, allocations: 15.84 kB / 444.2 MB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.18, allocations: 8 kB / 444.2 MB, free: 10.92 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001446/0.1802, allocations: 134.8 kB / 444.3 MB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.327e-05/0.1802, allocations: 7.906 kB / 444.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.993e-05/0.1803, allocations: 25.12 kB / 444.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1803, allocations: 4 kB / 444.3 MB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.1803, allocations: 7.984 kB / 444.4 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1803, allocations: 0 / 444.4 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003096/0.1806, allocations: 277.3 kB / 444.6 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1806, allocations: 0 / 444.6 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003279/0.181, allocations: 99.88 kB / 444.7 MB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.181, allocations: 0 / 444.7 MB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.181, allocations: 4 kB / 444.7 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.181, allocations: 8 kB / 444.7 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.181, allocations: 0 / 444.7 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003416/0.1814, allocations: 275.3 kB / 445 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.507e-05/0.1814, allocations: 92.86 kB / 445.1 MB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.1815, allocations: 7.938 kB / 445.1 MB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.479e-05/0.1816, allocations: 15.94 kB / 445.1 MB, free: 9.887 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.1816, allocations: 15.97 kB / 445.1 MB, free: 9.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.1816, allocations: 8 kB / 445.1 MB, free: 9.863 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.741e-05/0.1817, allocations: 79.28 kB / 445.2 MB, free: 9.785 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1817, allocations: 0 / 445.2 MB, free: 9.785 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002714/0.182, allocations: 51.78 kB / 445.3 MB, free: 9.734 MB / 382.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001464/0.1821, allocations: 99.23 kB / 445.4 MB, free: 9.625 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002677/0.1824, allocations: 144.3 kB / 445.5 MB, free: 9.484 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1824, allocations: 0 / 445.5 MB, free: 9.484 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.1825, allocations: 83.83 kB / 445.6 MB, free: 9.402 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/0.1828, allocations: 15.95 kB / 445.6 MB, free: 9.387 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009009/0.1837, allocations: 0.5836 MB / 446.2 MB, free: 8.777 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004031/0.1841, allocations: 0.7324 MB / 446.9 MB, free: 8.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000116/0.1843, allocations: 17.42 kB / 446.9 MB, free: 8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.739e-05/0.1843, allocations: 15.44 kB / 446.9 MB, free: 7.988 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1843, allocations: 0 / 446.9 MB, free: 7.988 MB / 382.1 MB Notification: Performance of Templates: time 0.003399/0.1877, allocations: 0.8237 MB / 447.8 MB, free: 7.164 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) Environment - environmentSimulation: