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.001077/0.001077, allocations: 187.9 kB / 8.351 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.329/1.329, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001593/0.001593, allocations: 115.8 kB / 248.1 MB, free: 6.312 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.85e-05/1.852e-05, allocations: 4 kB / 298.1 MB, free: 8.246 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08328/0.08332, allocations: 44.49 MB / 342.6 MB, free: 11.66 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2687/0.3521, allocations: 70.66 MB / 413.2 MB, free: 25.05 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001861/0.3523, allocations: 66.47 kB / 413.3 MB, free: 25.02 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.003163/0.3555, allocations: 1.242 MB / 414.5 MB, free: 24.02 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3555, allocations: 0 / 414.5 MB, free: 24.02 MB / 315.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.3555, allocations: 0 / 414.5 MB, free: 24.02 MB / 315.1 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.0003704/0.3559, allocations: 378.2 kB / 414.9 MB, free: 23.61 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.3559, allocations: 8.031 kB / 414.9 MB, free: 23.6 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.57e-05/0.356, allocations: 4 kB / 414.9 MB, free: 23.6 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.143e-05/0.3561, allocations: 184.5 kB / 415.1 MB, free: 23.38 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.3561, allocations: 3.281 kB / 415.1 MB, free: 23.38 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.3561, allocations: 11.09 kB / 415.1 MB, free: 23.37 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001053/0.3562, allocations: 27.12 kB / 415.1 MB, free: 23.36 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.786e-05/0.3563, allocations: 56.44 kB / 415.2 MB, free: 23.3 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.3563, allocations: 0 / 415.2 MB, free: 23.3 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.3564, allocations: 0 / 415.2 MB, free: 23.3 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.3564, allocations: 0 / 415.2 MB, free: 23.3 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003072/0.3567, allocations: 279.2 kB / 415.5 MB, free: 23.02 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.981e-05/0.3568, allocations: 56.41 kB / 415.5 MB, free: 22.96 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.631e-05/0.3568, allocations: 24.3 kB / 415.5 MB, free: 22.95 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.3569, allocations: 1.172 kB / 415.5 MB, free: 22.95 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.36e-05/0.3569, allocations: 30.56 kB / 415.6 MB, free: 22.91 MB / 315.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.3569, allocations: 0 / 415.6 MB, free: 22.91 MB / 315.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001952/0.3571, allocations: 64.09 kB / 415.6 MB, free: 22.85 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.65e-05/0.3571, allocations: 59.41 kB / 415.7 MB, free: 22.78 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.372e-05/0.3572, allocations: 100.5 kB / 415.8 MB, free: 22.68 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.3572, allocations: 25.7 kB / 415.8 MB, free: 22.65 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.987e-05/0.3572, allocations: 95.34 kB / 415.9 MB, free: 22.55 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.3573, allocations: 15.12 kB / 415.9 MB, free: 22.54 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-06/0.3573, allocations: 0 / 415.9 MB, free: 22.54 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 4.612e-05/0.3573, allocations: 318.8 kB / 416.2 MB, free: 22.22 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.71e-05/0.3574, allocations: 14.69 kB / 416.2 MB, free: 22.21 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.245e-05/0.3574, allocations: 16.16 kB / 416.3 MB, free: 22.2 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.852e-05/0.3574, allocations: 18.38 kB / 416.3 MB, free: 22.19 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.3574, allocations: 0 / 416.3 MB, free: 22.19 MB / 315.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.361e-05/0.3575, allocations: 60.06 kB / 416.3 MB, free: 22.14 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.3575, allocations: 4.938 kB / 416.3 MB, free: 22.13 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.3575, allocations: 0 / 416.3 MB, free: 22.13 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.3576, allocations: 0 / 416.3 MB, free: 22.13 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.3577, allocations: 35.92 kB / 416.4 MB, free: 22.11 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.3577, allocations: 0 / 416.4 MB, free: 22.11 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.17e-05/0.3578, allocations: 25.39 kB / 416.4 MB, free: 22.08 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.3578, allocations: 0 / 416.4 MB, free: 22.08 MB / 315.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 () * 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 4.913e-05/0.3579, allocations: 112.7 kB / 416.5 MB, free: 21.96 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.3579, allocations: 0 / 416.5 MB, free: 21.96 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001366/0.3581, allocations: 86.94 kB / 416.6 MB, free: 21.89 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3581, allocations: 0 / 416.6 MB, free: 21.89 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.3581, allocations: 8 kB / 416.6 MB, free: 21.89 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.3581, allocations: 3.703 kB / 416.6 MB, free: 21.89 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.3582, allocations: 167.6 kB / 416.8 MB, free: 21.7 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3582, allocations: 0 / 416.8 MB, free: 21.7 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.3584, allocations: 27.97 kB / 416.8 MB, free: 21.67 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3584, allocations: 0 / 416.8 MB, free: 21.67 MB / 315.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.3584, allocations: 0 / 416.8 MB, free: 21.67 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3584, allocations: 0 / 416.8 MB, free: 21.67 MB / 315.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3584, allocations: 4 kB / 416.8 MB, free: 21.66 MB / 315.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.3585, allocations: 172.8 kB / 417 MB, free: 21.5 MB / 315.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.182e-05/0.3585, allocations: 85.77 kB / 417.1 MB, free: 21.39 MB / 315.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.3586, allocations: 3.984 kB / 417.1 MB, free: 21.39 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.3587, allocations: 15.98 kB / 417.1 MB, free: 21.38 MB / 315.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.3587, allocations: 8.797 kB / 417.1 MB, free: 21.37 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.3588, allocations: 8 kB / 417.1 MB, free: 21.36 MB / 315.1 MB Notification: Performance of sorting global known variables: time 2.753e-05/0.3588, allocations: 83.59 kB / 417.2 MB, free: 21.29 MB / 315.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3588, allocations: 0 / 417.2 MB, free: 21.29 MB / 315.1 MB Notification: Performance of remove unused functions: time 0.0002167/0.359, allocations: 12 kB / 417.2 MB, free: 21.27 MB / 315.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 () * 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.0001165/0.3591, allocations: 103.2 kB / 417.3 MB, free: 21.16 MB / 315.1 MB Notification: Performance of simCode: created initialization part: time 0.0001126/0.3593, allocations: 47.95 kB / 417.3 MB, free: 21.13 MB / 315.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3593, allocations: 4 kB / 417.3 MB, free: 21.12 MB / 315.1 MB Notification: Performance of simCode: created simulation system equations: time 4.083e-05/0.3593, allocations: 24.12 kB / 417.4 MB, free: 21.11 MB / 315.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/0.3595, allocations: 1.031 kB / 417.4 MB, free: 21.11 MB / 315.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002685/0.3598, allocations: 102.1 kB / 417.5 MB, free: 21 MB / 315.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001671/0.36, allocations: 0.6924 MB / 418.1 MB, free: 20.28 MB / 315.1 MB Notification: Performance of simCode: alias equations: time 3.585e-05/0.36, allocations: 4 kB / 418.2 MB, free: 20.28 MB / 315.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.201e-05/0.36, allocations: 11.44 kB / 418.2 MB, free: 20.27 MB / 315.1 MB Notification: Performance of SimCode: time 2.4e-07/0.36, allocations: 0 / 418.2 MB, free: 20.27 MB / 315.1 MB Notification: Performance of Templates: time 0.00255/0.3626, allocations: 0.6593 MB / 418.8 MB, free: 19.63 MB / 315.1 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)