Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.ComplexBlocks.Examples.TestConversionBlock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2020,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2020,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.ComplexBlocks.Examples.TestConversionBlock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001407/0.001407, allocations: 182.3 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.671/1.671, allocations: 194.3 MB / 208.4 MB, free: 6.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001677/0.001677, allocations: 128.6 kB / 253.5 MB, free: 9.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.56e-05/2.561e-05, allocations: 4 kB / 304.9 MB, free: 29.8 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0904/0.09044, allocations: 44.5 MB / 349.4 MB, free: 1.289 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.364/0.4545, allocations: 71.33 MB / 420.8 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001534/0.4547, allocations: 59.28 kB / 420.8 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003175/0.4578, allocations: 1.257 MB / 422.1 MB, free: 10.56 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4579, allocations: 0 / 422.1 MB, free: 10.56 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.4579, allocations: 4 kB / 422.1 MB, free: 10.55 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003775/0.4583, allocations: 370.8 kB / 422.4 MB, free: 10.2 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.4583, allocations: 15.47 kB / 422.4 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.749e-05/0.4584, allocations: 3.75 kB / 422.5 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.4585, allocations: 185.2 kB / 422.6 MB, free: 9.984 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.4585, allocations: 0 / 422.6 MB, free: 9.984 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.4585, allocations: 6.938 kB / 422.6 MB, free: 9.984 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.4587, allocations: 60.2 kB / 422.7 MB, free: 9.949 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.4587, allocations: 0 / 422.7 MB, free: 9.949 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.4587, allocations: 3.906 kB / 422.7 MB, free: 9.949 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.4587, allocations: 0 / 422.7 MB, free: 9.949 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.035e-05/0.4588, allocations: 37.62 kB / 422.7 MB, free: 9.945 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003978/0.4592, allocations: 303.1 kB / 423 MB, free: 9.676 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.4594, allocations: 54.73 kB / 423.1 MB, free: 9.648 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.041e-05/0.4594, allocations: 20.27 kB / 423.1 MB, free: 9.641 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.4594, allocations: 3.828 kB / 423.1 MB, free: 9.641 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.4595, allocations: 37.47 kB / 423.2 MB, free: 9.602 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.4595, allocations: 5.312 kB / 423.2 MB, free: 9.598 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001791/0.4596, allocations: 65.03 kB / 423.2 MB, free: 9.562 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.4597, allocations: 51.41 kB / 423.3 MB, free: 9.5 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.29e-05/0.4597, allocations: 104.3 kB / 423.4 MB, free: 9.406 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.4598, allocations: 27.81 kB / 423.4 MB, free: 9.375 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.005e-05/0.4598, allocations: 95.42 kB / 423.5 MB, free: 9.285 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/0.4598, allocations: 13.41 kB / 423.5 MB, free: 9.277 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.4598, allocations: 3.844 kB / 423.5 MB, free: 9.277 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.416e-05/0.4599, allocations: 321.3 kB / 423.8 MB, free: 8.961 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.826e-05/0.4599, allocations: 19.59 kB / 423.8 MB, free: 8.953 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.438e-05/0.46, allocations: 14.44 kB / 423.9 MB, free: 8.953 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.173e-05/0.46, allocations: 15.78 kB / 423.9 MB, free: 8.953 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.46, allocations: 0 / 423.9 MB, free: 8.953 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.941e-05/0.4601, allocations: 66.2 kB / 423.9 MB, free: 8.922 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.4601, allocations: 3.875 kB / 423.9 MB, free: 8.922 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.4601, allocations: 0 / 423.9 MB, free: 8.922 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.4601, allocations: 256 / 423.9 MB, free: 8.922 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.4603, allocations: 28.23 kB / 424 MB, free: 8.918 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.445e-06/0.4603, allocations: 4 kB / 424 MB, free: 8.914 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.782e-05/0.4604, allocations: 23.98 kB / 424 MB, free: 8.906 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.4604, allocations: 6.422 kB / 424 MB, free: 8.906 MB / 298.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 5.052e-05/0.4605, allocations: 108.2 kB / 424.1 MB, free: 8.797 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.4605, allocations: 3.875 kB / 424.1 MB, free: 8.797 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001489/0.4607, allocations: 87.53 kB / 424.2 MB, free: 8.75 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.4607, allocations: 3.844 kB / 424.2 MB, free: 8.75 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.4607, allocations: 0 / 424.2 MB, free: 8.75 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.4607, allocations: 0.6562 kB / 424.2 MB, free: 8.75 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.4608, allocations: 193.7 kB / 424.4 MB, free: 8.555 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4608, allocations: 0 / 424.4 MB, free: 8.555 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.461, allocations: 22.77 kB / 424.4 MB, free: 8.555 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.461, allocations: 5.312 kB / 424.4 MB, free: 8.551 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.461, allocations: 4.656 kB / 424.4 MB, free: 8.551 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.461, allocations: 7.875 kB / 424.4 MB, free: 8.543 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.461, allocations: 0 / 424.4 MB, free: 8.543 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.4611, allocations: 169 kB / 424.6 MB, free: 8.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.803e-05/0.4612, allocations: 84.58 kB / 424.7 MB, free: 8.312 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.4612, allocations: 1.312 kB / 424.7 MB, free: 8.312 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.4613, allocations: 20.91 kB / 424.7 MB, free: 8.309 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.527e-05/0.4614, allocations: 8.562 kB / 424.7 MB, free: 8.309 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.4614, allocations: 2.5 kB / 424.7 MB, free: 8.309 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.354e-05/0.4614, allocations: 92.05 kB / 424.8 MB, free: 8.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4614, allocations: 1.25 kB / 424.8 MB, free: 8.23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002061/0.4616, allocations: 13.59 kB / 424.8 MB, free: 8.23 MB / 298.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001205/0.4618, allocations: 107.8 kB / 424.9 MB, free: 8.133 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001177/0.4619, allocations: 40.52 kB / 425 MB, free: 8.133 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4619, allocations: 1.281 kB / 425 MB, free: 8.133 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.226e-05/0.4619, allocations: 31.05 kB / 425 MB, free: 8.129 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.4621, allocations: 8.906 kB / 425 MB, free: 8.125 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00025/0.4624, allocations: 98.39 kB / 425.1 MB, free: 8.047 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.4625, allocations: 0.6961 MB / 425.8 MB, free: 7.348 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.345e-05/0.4625, allocations: 6.516 kB / 425.8 MB, free: 7.344 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.584e-05/0.4626, allocations: 10.06 kB / 425.8 MB, free: 7.336 MB / 298.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4626, allocations: 1.312 kB / 425.8 MB, free: 7.336 MB / 298.7 MB Notification: Performance of Templates: time 0.002555/0.4651, allocations: 0.777 MB / 426.6 MB, free: 7.27 MB / 298.7 MB make -j1 -f Modelica_3.2.2_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile (rm -f Modelica_3.2.2_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_3.2.2_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_3.2.2_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_3.2.2_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1)