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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001983/0.001982, allocations: 108 kB / 17.06 MB, free: 6.02 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.001943/0.001944, allocations: 199 kB / 18 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.646/1.646, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.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.001779/0.001779, allocations: 47.92 kB / 327.8 MB, free: 3.344 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1379, allocations: 46.62 MB / 374.4 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.00364/0.1416, allocations: 1.488 MB / 375.9 MB, free: 3.117 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.1427, allocations: 0.546 MB / 376.5 MB, free: 2.562 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.116e-05/0.1428, allocations: 7.938 kB / 376.5 MB, free: 2.555 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001472/0.143, allocations: 19.86 kB / 376.5 MB, free: 2.535 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.397e-05/0.1431, allocations: 7.875 kB / 376.5 MB, free: 2.527 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.1434, allocations: 39.91 kB / 376.6 MB, free: 2.488 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.1435, allocations: 47.91 kB / 376.6 MB, free: 2.441 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.1436, allocations: 27.95 kB / 376.6 MB, free: 2.414 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.1438, allocations: 27.86 kB / 376.7 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.416e-05/0.1439, allocations: 35.84 kB / 376.7 MB, free: 2.352 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.144, allocations: 8 kB / 376.7 MB, free: 2.344 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.854e-05/0.1441, allocations: 16 kB / 376.7 MB, free: 2.328 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.712e-05/0.1441, allocations: 19.92 kB / 376.7 MB, free: 2.309 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.672e-05/0.1441, allocations: 27.84 kB / 376.8 MB, free: 2.281 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.1443, allocations: 67.73 kB / 376.8 MB, free: 2.215 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1444, allocations: 4 kB / 376.8 MB, free: 2.211 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1444, allocations: 0 / 376.8 MB, free: 2.211 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.1444, allocations: 0 / 376.8 MB, free: 2.211 MB / 318.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.0007493/0.1451, allocations: 387.2 kB / 377.2 MB, free: 1.785 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.1452, allocations: 12.03 kB / 377.2 MB, free: 1.773 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.81e-05/0.1452, allocations: 4.938 kB / 377.2 MB, free: 1.77 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.1454, allocations: 164.3 kB / 377.4 MB, free: 1.57 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.1454, allocations: 8.375 kB / 377.4 MB, free: 1.562 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.1454, allocations: 4.375 kB / 377.4 MB, free: 1.559 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002987/0.1457, allocations: 93.83 kB / 377.5 MB, free: 1.461 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.1458, allocations: 0 / 377.5 MB, free: 1.461 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.1458, allocations: 4 kB / 377.5 MB, free: 1.457 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.1458, allocations: 0 / 377.5 MB, free: 1.457 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003209/0.1461, allocations: 79.91 kB / 377.6 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004854/0.1466, allocations: 312.6 kB / 377.9 MB, free: 1.023 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/0.1469, allocations: 74.53 kB / 377.9 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.1471, allocations: 48.94 kB / 378 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.1471, allocations: 4 kB / 378 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.1471, allocations: 30.56 kB / 378 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.804e-06/0.1472, allocations: 0 / 378 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006346/0.1478, allocations: 153.6 kB / 378.2 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.1479, allocations: 55.41 kB / 378.2 MB, free: 0.625 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.224e-05/0.148, allocations: 109.8 kB / 378.3 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.148, allocations: 25.7 kB / 378.4 MB, free: 488 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.794e-05/0.148, allocations: 92.05 kB / 378.5 MB, free: 392 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.1481, allocations: 19.8 kB / 378.5 MB, free: 372 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.947e-05/0.1481, allocations: 13.72 kB / 378.5 MB, free: 352 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1483, allocations: 322.8 kB / 378.8 MB, free: 20 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2835/0.4318, allocations: 34.66 kB / 378.8 MB, free: 13.02 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.432, allocations: 37.58 kB / 378.9 MB, free: 13.02 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003409/0.4324, allocations: 85.64 kB / 379 MB, free: 13.02 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.4324, allocations: 1.375 kB / 379 MB, free: 13.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004179/0.4328, allocations: 116.5 kB / 379.1 MB, free: 12.98 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.4329, allocations: 5.797 kB / 379.1 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.4329, allocations: 1.125 kB / 379.1 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.4329, allocations: 1.594 kB / 379.1 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.4331, allocations: 19.33 kB / 379.1 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.4331, allocations: 0 / 379.1 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.482e-05/0.4332, allocations: 16.23 kB / 379.1 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.487e-06/0.4332, allocations: 1.875 kB / 379.1 MB, free: 12.98 MB / 318.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001009/0.4333, allocations: 119.3 kB / 379.2 MB, free: 12.87 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.763e-05/0.4334, allocations: 7.312 kB / 379.2 MB, free: 12.87 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004754/0.4338, allocations: 135.3 kB / 379.4 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.4339, allocations: 1.375 kB / 379.4 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4339, allocations: 0 / 379.4 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.4339, allocations: 1.312 kB / 379.4 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/0.4341, allocations: 195 kB / 379.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4341, allocations: 3.281 kB / 379.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.4342, allocations: 20.94 kB / 379.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.4342, allocations: 1.375 kB / 379.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.4343, allocations: 1.906 kB / 379.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.4343, allocations: 5.094 kB / 379.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4343, allocations: 3.375 kB / 379.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004135/0.4347, allocations: 218 kB / 379.8 MB, free: 12.52 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.523e-05/0.4347, allocations: 83.56 kB / 379.9 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.4348, allocations: 11.72 kB / 379.9 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.4349, allocations: 10.73 kB / 379.9 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.476e-05/0.4349, allocations: 8.859 kB / 379.9 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.435, allocations: 1.312 kB / 379.9 MB, free: 12.42 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.829e-05/0.435, allocations: 91 kB / 380 MB, free: 12.35 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.435, allocations: 0 / 380 MB, free: 12.35 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002316/0.4352, allocations: 17.34 kB / 380 MB, free: 12.34 MB / 318.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001557/0.4354, allocations: 100.2 kB / 380.1 MB, free: 12.26 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003994/0.4358, allocations: 92.95 kB / 380.2 MB, free: 12.26 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.4358, allocations: 1.406 kB / 380.2 MB, free: 12.26 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001711/0.436, allocations: 43.88 kB / 380.3 MB, free: 12.26 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.4364, allocations: 8.219 kB / 380.3 MB, free: 12.26 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003417/0.4367, allocations: 161 kB / 380.4 MB, free: 12.14 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000151/0.4369, allocations: 0.6879 MB / 381.1 MB, free: 11.45 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.521e-05/0.4369, allocations: 3.781 kB / 381.1 MB, free: 11.45 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.548e-05/0.437, allocations: 12.5 kB / 381.1 MB, free: 11.44 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.437, allocations: 0 / 381.1 MB, free: 11.44 MB / 318.1 MB Notification: Performance of Templates: time 0.004421/0.4414, allocations: 0.9469 MB / 382.1 MB, free: 11.36 MB / 318.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)