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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009561/0.0009562, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009565/0.0009565, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 205.4 MB / 222.1 MB, free: 5.875 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004547/0.0004547, allocations: 15.98 kB / 278.9 MB, free: 13.06 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2631, allocations: 47.59 MB / 326.5 MB, free: 1.379 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.001541/0.2646, allocations: 1.198 MB / 327.7 MB, free: 436 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007369/0.2654, allocations: 0.4929 MB / 328.2 MB, free: 40 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.107e-05/0.2655, allocations: 1.031 kB / 328.2 MB, free: 40 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 8.257e-05/0.2656, allocations: 16.08 kB / 328.2 MB, free: 28 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 6.963e-05/0.2656, allocations: 9.203 kB / 328.2 MB, free: 20 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001621/0.2658, allocations: 35.09 kB / 328.2 MB, free: 15.99 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 9.786e-05/0.2659, allocations: 50.53 kB / 328.3 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.266, allocations: 10.89 kB / 328.3 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.2662, allocations: 24.27 kB / 328.3 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.436e-05/0.2662, allocations: 23.02 kB / 328.3 MB, free: 15.93 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.2662, allocations: 2.844 kB / 328.3 MB, free: 15.93 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.235e-05/0.2663, allocations: 17.7 kB / 328.4 MB, free: 15.92 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.225e-05/0.2663, allocations: 5.531 kB / 328.4 MB, free: 15.92 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.97e-05/0.2664, allocations: 32.61 kB / 328.4 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.2665, allocations: 51.62 kB / 328.4 MB, free: 15.84 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.2665, allocations: 3.938 kB / 328.4 MB, free: 15.84 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.2665, allocations: 0 / 328.4 MB, free: 15.84 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.2666, allocations: 0 / 328.4 MB, free: 15.84 MB / 270.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.0005788/0.2671, allocations: 383.1 kB / 328.8 MB, free: 15.46 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.2672, allocations: 8.531 kB / 328.8 MB, free: 15.46 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.369e-05/0.2672, allocations: 7.906 kB / 328.8 MB, free: 15.45 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.2674, allocations: 173.6 kB / 329 MB, free: 15.25 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.2674, allocations: 9.203 kB / 329 MB, free: 15.24 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.2674, allocations: 3.688 kB / 329 MB, free: 15.24 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002832/0.2677, allocations: 99.59 kB / 329.1 MB, free: 15.17 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.2677, allocations: 0 / 329.1 MB, free: 15.17 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.2677, allocations: 0 / 329.1 MB, free: 15.17 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.2677, allocations: 1.188 kB / 329.1 MB, free: 15.17 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003162/0.2681, allocations: 102.4 kB / 329.2 MB, free: 15.13 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000422/0.2685, allocations: 317.9 kB / 329.5 MB, free: 14.8 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002503/0.2688, allocations: 83.19 kB / 329.6 MB, free: 14.75 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001653/0.2689, allocations: 58.52 kB / 329.7 MB, free: 14.72 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.269, allocations: 3.938 kB / 329.7 MB, free: 14.72 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.269, allocations: 34.55 kB / 329.7 MB, free: 14.68 MB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.269, allocations: 0 / 329.7 MB, free: 14.68 MB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005763/0.2696, allocations: 185.2 kB / 329.9 MB, free: 14.58 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.2696, allocations: 52.41 kB / 329.9 MB, free: 14.52 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.321e-05/0.2697, allocations: 116.1 kB / 330 MB, free: 14.41 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.2697, allocations: 26.64 kB / 330.1 MB, free: 14.38 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.039e-05/0.2698, allocations: 90.27 kB / 330.2 MB, free: 14.29 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.2698, allocations: 17.97 kB / 330.2 MB, free: 14.27 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.2698, allocations: 1.312 kB / 330.2 MB, free: 14.27 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.27, allocations: 319.9 kB / 330.5 MB, free: 13.95 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.2701, allocations: 48.78 kB / 330.5 MB, free: 13.93 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.2703, allocations: 50.83 kB / 330.6 MB, free: 13.91 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/0.2705, allocations: 44.44 kB / 330.6 MB, free: 13.89 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.2705, allocations: 0.9688 kB / 330.6 MB, free: 13.89 MB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003433/0.2708, allocations: 136.9 kB / 330.8 MB, free: 13.82 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.2708, allocations: 4.156 kB / 330.8 MB, free: 13.82 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2709, allocations: 9.062 kB / 330.8 MB, free: 13.81 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.2709, allocations: 0 / 330.8 MB, free: 13.81 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.271, allocations: 21.61 kB / 330.8 MB, free: 13.81 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.271, allocations: 5.125 kB / 330.8 MB, free: 13.8 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.079e-05/0.2711, allocations: 20.31 kB / 330.8 MB, free: 13.8 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.2711, allocations: 9.422 kB / 330.8 MB, free: 13.79 MB / 270.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 () * 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 7.748e-05/0.2712, allocations: 116.2 kB / 330.9 MB, free: 13.67 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.2712, allocations: 6.781 kB / 331 MB, free: 13.66 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004043/0.2717, allocations: 154.5 kB / 331.1 MB, free: 13.57 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.2717, allocations: 1.25 kB / 331.1 MB, free: 13.57 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.2717, allocations: 1.375 kB / 331.1 MB, free: 13.57 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.2717, allocations: 0 / 331.1 MB, free: 13.57 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001932/0.2719, allocations: 192.8 kB / 331.3 MB, free: 13.35 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2719, allocations: 0 / 331.3 MB, free: 13.35 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.272, allocations: 40.12 kB / 331.3 MB, free: 13.33 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.272, allocations: 0 / 331.3 MB, free: 13.33 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.272, allocations: 1.469 kB / 331.3 MB, free: 13.33 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.2721, allocations: 3.938 kB / 331.3 MB, free: 13.32 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2721, allocations: 1.375 kB / 331.3 MB, free: 13.32 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004082/0.2725, allocations: 235.7 kB / 331.6 MB, free: 13.15 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.952e-05/0.2725, allocations: 87.28 kB / 331.7 MB, free: 13.05 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.2726, allocations: 8 kB / 331.7 MB, free: 13.04 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.2727, allocations: 16.7 kB / 331.7 MB, free: 13.04 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.2727, allocations: 6.047 kB / 331.7 MB, free: 13.03 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.2727, allocations: 2.031 kB / 331.7 MB, free: 13.03 MB / 270.1 MB Notification: Performance of sorting global known variables: time 4.451e-05/0.2728, allocations: 85.78 kB / 331.8 MB, free: 12.95 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2728, allocations: 0 / 331.8 MB, free: 12.95 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002282/0.273, allocations: 13.41 kB / 331.8 MB, free: 12.95 MB / 270.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 () * 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 0.0001447/0.2732, allocations: 105.6 kB / 331.9 MB, free: 12.85 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004004/0.2736, allocations: 104.3 kB / 332 MB, free: 12.82 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2736, allocations: 0 / 332 MB, free: 12.82 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001832/0.2738, allocations: 66.44 kB / 332.1 MB, free: 12.79 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.2741, allocations: 10.33 kB / 332.1 MB, free: 12.78 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003987/0.2745, allocations: 183.6 kB / 332.2 MB, free: 12.61 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.2748, allocations: 0.6883 MB / 332.9 MB, free: 11.91 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.961e-05/0.2748, allocations: 15.41 kB / 332.9 MB, free: 11.9 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/0.2749, allocations: 9.406 kB / 333 MB, free: 11.89 MB / 270.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2749, allocations: 1.156 kB / 333 MB, free: 11.89 MB / 270.1 MB Notification: Performance of Templates: time 0.003183/0.2781, allocations: 0.7298 MB / 333.7 MB, free: 11.52 MB / 270.1 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)