Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.ComplexBlocks.Examples.TestConversionBlock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2020,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2020,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.ComplexBlocks.Examples.TestConversionBlock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001635/0.001635, allocations: 170.5 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.333/1.333, allocations: 170.6 MB / 183.8 MB, free: 11.47 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00163/0.00163, allocations: 98.78 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.52e-05/2.522e-05, allocations: 0 / 268.9 MB, free: 20.94 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06969/0.06973, allocations: 38.77 MB / 307.6 MB, free: 14.14 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2637/0.3335, allocations: 65.97 MB / 373.6 MB, free: 10.21 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/0.3338, allocations: 64.41 kB / 373.7 MB, free: 10.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003412/0.3372, allocations: 1.233 MB / 374.9 MB, free: 9.102 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3372, allocations: 3.938 kB / 374.9 MB, free: 9.098 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.3373, allocations: 4 kB / 374.9 MB, free: 9.094 MB / 266.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.0004086/0.3377, allocations: 365.6 kB / 375.3 MB, free: 8.695 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.3377, allocations: 8.031 kB / 375.3 MB, free: 8.688 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.822e-05/0.3378, allocations: 12.53 kB / 375.3 MB, free: 8.676 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.3379, allocations: 174.1 kB / 375.4 MB, free: 8.469 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.3379, allocations: 4 kB / 375.4 MB, free: 8.465 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.3379, allocations: 7.5 kB / 375.5 MB, free: 8.461 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.3381, allocations: 60.45 kB / 375.5 MB, free: 8.406 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.3381, allocations: 0 / 375.5 MB, free: 8.406 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.3381, allocations: 0 / 375.5 MB, free: 8.406 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3381, allocations: 0 / 375.5 MB, free: 8.406 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.878e-05/0.3382, allocations: 34.44 kB / 375.5 MB, free: 8.383 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004387/0.3386, allocations: 309.5 kB / 375.9 MB, free: 8.055 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.3388, allocations: 47.48 kB / 375.9 MB, free: 8.008 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.24e-05/0.3388, allocations: 19.98 kB / 375.9 MB, free: 7.992 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.3388, allocations: 0 / 375.9 MB, free: 7.992 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.3389, allocations: 34.56 kB / 376 MB, free: 7.949 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.3389, allocations: 0 / 376 MB, free: 7.949 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001688/0.3391, allocations: 64.09 kB / 376 MB, free: 7.891 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.3391, allocations: 55.41 kB / 376.1 MB, free: 7.824 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.812e-05/0.3392, allocations: 100.8 kB / 376.2 MB, free: 7.723 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.3392, allocations: 25.7 kB / 376.2 MB, free: 7.691 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.151e-05/0.3392, allocations: 92.02 kB / 376.3 MB, free: 7.602 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.773e-05/0.3393, allocations: 7.812 kB / 376.3 MB, free: 7.594 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-06/0.3393, allocations: 3.625 kB / 376.3 MB, free: 7.594 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.763e-05/0.3394, allocations: 326.8 kB / 376.6 MB, free: 7.266 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.816e-05/0.3394, allocations: 7.438 kB / 376.6 MB, free: 7.262 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.368e-05/0.3394, allocations: 19.58 kB / 376.6 MB, free: 7.254 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.514e-05/0.3395, allocations: 11.7 kB / 376.6 MB, free: 7.246 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.3395, allocations: 0 / 376.6 MB, free: 7.246 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.725e-05/0.3396, allocations: 60.16 kB / 376.7 MB, free: 7.188 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.3396, allocations: 4 kB / 376.7 MB, free: 7.184 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.3396, allocations: 4 kB / 376.7 MB, free: 7.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.3396, allocations: 0 / 376.7 MB, free: 7.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.3398, allocations: 27.97 kB / 376.7 MB, free: 7.152 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.3398, allocations: 3.938 kB / 376.7 MB, free: 7.148 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.905e-05/0.3399, allocations: 19.92 kB / 376.8 MB, free: 7.133 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.3399, allocations: 0 / 376.8 MB, free: 7.133 MB / 266.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 (4): * Single equations (assignments): 4 * 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 6.396e-05/0.34, allocations: 112.9 kB / 376.9 MB, free: 7.016 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.34, allocations: 4 kB / 376.9 MB, free: 7.012 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001462/0.3402, allocations: 78.14 kB / 377 MB, free: 6.938 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3402, allocations: 0 / 377 MB, free: 6.938 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.3402, allocations: 0 / 377 MB, free: 6.938 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.3402, allocations: 3.984 kB / 377 MB, free: 6.934 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.3404, allocations: 189.2 kB / 377.1 MB, free: 6.711 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.3404, allocations: 7.953 kB / 377.2 MB, free: 6.703 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.3405, allocations: 23.98 kB / 377.2 MB, free: 6.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.3405, allocations: 4 kB / 377.2 MB, free: 6.676 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.3405, allocations: 0 / 377.2 MB, free: 6.676 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.3406, allocations: 0 / 377.2 MB, free: 6.676 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3406, allocations: 4.25 kB / 377.2 MB, free: 6.672 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.3407, allocations: 158.9 kB / 377.3 MB, free: 6.516 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.798e-05/0.3408, allocations: 92.95 kB / 377.4 MB, free: 6.406 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.3408, allocations: 0 / 377.4 MB, free: 6.406 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.3409, allocations: 19.98 kB / 377.4 MB, free: 6.387 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.671e-05/0.341, allocations: 11.86 kB / 377.5 MB, free: 6.379 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-06/0.341, allocations: 0 / 377.5 MB, free: 6.379 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.245e-05/0.341, allocations: 93.3 kB / 377.6 MB, free: 6.293 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.341, allocations: 0 / 377.6 MB, free: 6.293 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002017/0.3412, allocations: 8 kB / 377.6 MB, free: 6.285 MB / 266.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 (6): * Single equations (assignments): 6 * 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.0001192/0.3414, allocations: 107.1 kB / 377.7 MB, free: 6.176 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001001/0.3415, allocations: 39.67 kB / 377.7 MB, free: 6.145 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3415, allocations: 0.6562 kB / 377.7 MB, free: 6.145 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.959e-05/0.3415, allocations: 19.56 kB / 377.7 MB, free: 6.133 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/0.3417, allocations: 7.938 kB / 377.7 MB, free: 6.129 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000234/0.3419, allocations: 95.97 kB / 377.8 MB, free: 6.016 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.3422, allocations: 0.6965 MB / 378.5 MB, free: 5.293 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.054e-05/0.3422, allocations: 4 kB / 378.5 MB, free: 5.289 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.526e-05/0.3422, allocations: 7.438 kB / 378.5 MB, free: 5.281 MB / 266.7 MB Notification: Performance of SimCode: time 3.11e-07/0.3422, allocations: 0 / 378.5 MB, free: 5.281 MB / 266.7 MB Notification: Performance of Templates: time 0.002688/0.3449, allocations: 0.7474 MB / 379.3 MB, free: 4.543 MB / 266.7 MB make -j1 -f Modelica_3.2.1_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile (rm -f Modelica_3.2.1_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_3.2.1_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_3.2.1_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_3.2.1_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1)