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.008426/0.008426, allocations: 165.8 kB / 15.11 MB, free: 5.973 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.378/1.378, allocations: 170.8 MB / 186.6 MB, free: 1.137 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.001586/0.001586, allocations: 114.6 kB / 226.2 MB, free: 10.12 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003207/0.0003208, allocations: 8 kB / 274.1 MB, free: 10.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2197, allocations: 38.77 MB / 312.9 MB, free: 38.77 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0912/0.311, allocations: 66.07 MB / 378.9 MB, free: 8.465 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002259/0.3112, allocations: 63.97 kB / 379 MB, free: 8.402 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003794/0.315, allocations: 1.241 MB / 380.3 MB, free: 7.16 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.129e-06/0.3151, allocations: 3.984 kB / 380.3 MB, free: 7.156 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.3151, allocations: 4 kB / 380.3 MB, free: 7.152 MB / 282.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.0005052/0.3156, allocations: 379.2 kB / 380.6 MB, free: 6.734 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.3157, allocations: 8.031 kB / 380.6 MB, free: 6.727 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.848e-05/0.3157, allocations: 7.906 kB / 380.6 MB, free: 6.719 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.3158, allocations: 163.1 kB / 380.8 MB, free: 6.52 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.3159, allocations: 8 kB / 380.8 MB, free: 6.512 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.3159, allocations: 8 kB / 380.8 MB, free: 6.504 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002844/0.3162, allocations: 101.5 kB / 380.9 MB, free: 6.398 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.3162, allocations: 3.938 kB / 380.9 MB, free: 6.395 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.3162, allocations: 0 / 380.9 MB, free: 6.395 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3162, allocations: 0 / 380.9 MB, free: 6.395 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003313/0.3166, allocations: 99.92 kB / 381 MB, free: 6.297 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004347/0.317, allocations: 320.6 kB / 381.3 MB, free: 5.934 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.3173, allocations: 66.55 kB / 381.4 MB, free: 5.859 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.3173, allocations: 96 / 381.4 MB, free: 5.859 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.3173, allocations: 38.55 kB / 381.4 MB, free: 5.812 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.3173, allocations: 0 / 381.4 MB, free: 5.812 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0006109/0.318, allocations: 173.6 kB / 381.6 MB, free: 5.637 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.318, allocations: 51.41 kB / 381.7 MB, free: 5.574 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.515e-05/0.3181, allocations: 97 kB / 381.8 MB, free: 5.473 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.3181, allocations: 33.7 kB / 381.8 MB, free: 5.434 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.839e-05/0.3182, allocations: 92.03 kB / 381.9 MB, free: 5.34 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.3182, allocations: 15.81 kB / 381.9 MB, free: 5.324 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.3183, allocations: 0 / 381.9 MB, free: 5.324 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.3184, allocations: 318.8 kB / 382.2 MB, free: 5.004 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.3186, allocations: 43.97 kB / 382.2 MB, free: 4.961 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.3187, allocations: 43.95 kB / 382.3 MB, free: 4.918 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.3189, allocations: 43.97 kB / 382.3 MB, free: 4.875 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3189, allocations: 3.953 kB / 382.3 MB, free: 4.871 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003428/0.3192, allocations: 133.8 kB / 382.5 MB, free: 4.734 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.3193, allocations: 4 kB / 382.5 MB, free: 4.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3193, allocations: 3.938 kB / 382.5 MB, free: 4.727 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.3193, allocations: 4 kB / 382.5 MB, free: 4.723 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.3195, allocations: 24.31 kB / 382.5 MB, free: 4.699 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3195, allocations: 0 / 382.5 MB, free: 4.699 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.367e-05/0.3196, allocations: 19.92 kB / 382.5 MB, free: 4.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.3196, allocations: 3.984 kB / 382.5 MB, free: 4.676 MB / 282.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 () * Number of clocked 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 9.236e-05/0.3197, allocations: 113.8 kB / 382.6 MB, free: 4.555 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.794e-05/0.3197, allocations: 7.859 kB / 382.6 MB, free: 4.547 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004252/0.3201, allocations: 157.4 kB / 382.8 MB, free: 4.383 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3202, allocations: 0 / 382.8 MB, free: 4.383 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3202, allocations: 0 / 382.8 MB, free: 4.383 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3202, allocations: 0 / 382.8 MB, free: 4.383 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001994/0.3204, allocations: 181.6 kB / 383 MB, free: 4.156 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3204, allocations: 0 / 383 MB, free: 4.156 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.3205, allocations: 31.92 kB / 383 MB, free: 4.125 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3205, allocations: 0 / 383 MB, free: 4.125 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.3205, allocations: 0 / 383 MB, free: 4.125 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3206, allocations: 4 kB / 383 MB, free: 4.121 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.3206, allocations: 3.938 kB / 383 MB, free: 4.117 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004137/0.321, allocations: 243.4 kB / 383.2 MB, free: 3.863 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.714e-05/0.321, allocations: 77.11 kB / 383.3 MB, free: 3.77 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.3211, allocations: 3.953 kB / 383.3 MB, free: 3.766 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.3212, allocations: 19.98 kB / 383.3 MB, free: 3.746 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/0.3212, allocations: 11.98 kB / 383.4 MB, free: 3.734 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.3213, allocations: 0 / 383.4 MB, free: 3.734 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.619e-05/0.3213, allocations: 91.58 kB / 383.4 MB, free: 3.645 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3213, allocations: 0 / 383.4 MB, free: 3.645 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002239/0.3215, allocations: 19.84 kB / 383.5 MB, free: 3.625 MB / 282.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 () * Number of clocked 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.0001585/0.3217, allocations: 103.2 kB / 383.6 MB, free: 3.516 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003548/0.3221, allocations: 103.9 kB / 383.7 MB, free: 3.414 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3221, allocations: 0 / 383.7 MB, free: 3.414 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.3223, allocations: 55.89 kB / 383.7 MB, free: 3.359 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.3225, allocations: 8 kB / 383.7 MB, free: 3.352 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003666/0.3229, allocations: 172.3 kB / 383.9 MB, free: 3.156 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.3231, allocations: 0.6887 MB / 384.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.388e-05/0.3232, allocations: 4 kB / 384.6 MB, free: 2.438 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.759e-05/0.3232, allocations: 7.438 kB / 384.6 MB, free: 2.43 MB / 282.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3232, allocations: 4 kB / 384.6 MB, free: 2.426 MB / 282.7 MB Notification: Performance of Templates: time 0.002784/0.326, allocations: 0.7138 MB / 385.3 MB, free: 1.715 MB / 282.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)