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.0009503/0.0009503, allocations: 180.3 kB / 16.38 MB, free: 5.766 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.121/1.121, allocations: 194.5 MB / 211.6 MB, free: 3.043 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.001546/0.001546, allocations: 109.7 kB / 256.9 MB, free: 4.359 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002985/0.0002985, allocations: 8 kB / 310.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07641/0.07672, allocations: 44.5 MB / 355 MB, free: 2.352 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2174/0.2941, allocations: 71.4 MB / 426.5 MB, free: 18.11 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001798/0.2944, allocations: 69.09 kB / 426.5 MB, free: 18.07 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003059/0.2974, allocations: 1.261 MB / 427.8 MB, free: 16.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2974, allocations: 0.9375 kB / 427.8 MB, free: 16.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.2975, allocations: 6.812 kB / 427.8 MB, free: 16.98 MB / 314.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.0003653/0.2978, allocations: 380.3 kB / 428.2 MB, free: 16.57 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.2979, allocations: 11.97 kB / 428.2 MB, free: 16.55 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.07e-05/0.2979, allocations: 13 kB / 428.2 MB, free: 16.55 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.993e-05/0.298, allocations: 170 kB / 428.3 MB, free: 16.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.298, allocations: 0 / 428.3 MB, free: 16.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.298, allocations: 4 kB / 428.4 MB, free: 16.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/0.2983, allocations: 96.36 kB / 428.4 MB, free: 16.26 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.2983, allocations: 7 kB / 428.5 MB, free: 16.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.2983, allocations: 0 / 428.5 MB, free: 16.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.2983, allocations: 4 kB / 428.5 MB, free: 16.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002819/0.2986, allocations: 101 kB / 428.6 MB, free: 16.17 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002973/0.2989, allocations: 310.9 kB / 428.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/0.2991, allocations: 92.91 kB / 429 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.2991, allocations: 0 / 429 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.649e-05/0.2992, allocations: 30.56 kB / 429 MB, free: 15.71 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 7.61e-07/0.2992, allocations: 0 / 429 MB, free: 15.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005413/0.2997, allocations: 188.2 kB / 429.2 MB, free: 15.55 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.39e-05/0.2997, allocations: 55.34 kB / 429.2 MB, free: 15.48 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.03e-05/0.2998, allocations: 110.2 kB / 429.3 MB, free: 15.37 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.2998, allocations: 25.7 kB / 429.4 MB, free: 15.34 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.124e-05/0.2999, allocations: 95 kB / 429.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.74e-05/0.2999, allocations: 19.66 kB / 429.5 MB, free: 15.23 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-06/0.2999, allocations: 0 / 429.5 MB, free: 15.23 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.029e-05/0.3, allocations: 318.4 kB / 429.8 MB, free: 14.91 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.3001, allocations: 46.2 kB / 429.8 MB, free: 14.88 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.3002, allocations: 55.52 kB / 429.9 MB, free: 14.83 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.3004, allocations: 43.41 kB / 429.9 MB, free: 14.79 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3004, allocations: 4.75 kB / 429.9 MB, free: 14.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003069/0.3007, allocations: 130.9 kB / 430 MB, free: 14.67 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.3007, allocations: 8 kB / 430.1 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.3007, allocations: 0 / 430.1 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.3007, allocations: 3.938 kB / 430.1 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.3009, allocations: 23.97 kB / 430.1 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.3009, allocations: 4 kB / 430.1 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.745e-05/0.301, allocations: 22.17 kB / 430.1 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.301, allocations: 5.734 kB / 430.1 MB, free: 14.61 MB / 314.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 (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.809e-05/0.301, allocations: 113.4 kB / 430.2 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.374e-05/0.3011, allocations: 3.906 kB / 430.2 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003524/0.3014, allocations: 153.6 kB / 430.4 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3014, allocations: 0 / 430.4 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3015, allocations: 0 / 430.4 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3015, allocations: 4.781 kB / 430.4 MB, free: 14.35 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.3016, allocations: 199.1 kB / 430.6 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3016, allocations: 0 / 430.6 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.3017, allocations: 23.98 kB / 430.6 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.3017, allocations: 0 / 430.6 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.3017, allocations: 0 / 430.6 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3017, allocations: 0 / 430.6 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.3018, allocations: 4 kB / 430.6 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003323/0.3021, allocations: 246.1 kB / 430.8 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.43e-05/0.3021, allocations: 81.02 kB / 430.9 MB, free: 13.76 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.3022, allocations: 7.875 kB / 430.9 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.3023, allocations: 18.28 kB / 431 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.3023, allocations: 4.609 kB / 431 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.3023, allocations: 10.58 kB / 431 MB, free: 13.73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.663e-05/0.3024, allocations: 91.98 kB / 431.1 MB, free: 13.64 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3024, allocations: 0 / 431.1 MB, free: 13.64 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002063/0.3026, allocations: 19.75 kB / 431.1 MB, free: 13.62 MB / 314.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 (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 9.63e-05/0.3027, allocations: 99.23 kB / 431.2 MB, free: 13.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003272/0.303, allocations: 109.3 kB / 431.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.303, allocations: 1.125 kB / 431.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.3032, allocations: 70.45 kB / 431.3 MB, free: 13.37 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001638/0.3034, allocations: 4.5 kB / 431.4 MB, free: 13.36 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002545/0.3036, allocations: 174.3 kB / 431.5 MB, free: 13.18 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.985e-05/0.3037, allocations: 0.6887 MB / 432.2 MB, free: 12.46 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.186e-05/0.3038, allocations: 4 kB / 432.2 MB, free: 12.46 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.551e-05/0.3038, allocations: 11.38 kB / 432.2 MB, free: 12.45 MB / 314.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3038, allocations: 0 / 432.2 MB, free: 12.45 MB / 314.7 MB Notification: Performance of Templates: time 0.002152/0.306, allocations: 0.7533 MB / 433 MB, free: 11.73 MB / 314.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)