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.001078/0.001078, allocations: 90.02 kB / 16.65 MB, free: 6.598 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.001211/0.001211, allocations: 177.5 kB / 17.56 MB, free: 6.203 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.914/1.914, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0007758/0.0007762, allocations: 8.938 kB / 280.7 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1381, allocations: 47.58 MB / 328.3 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.001938/0.14, allocations: 1.214 MB / 329.5 MB, free: 2.523 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.1411, allocations: 0.5159 MB / 330 MB, free: 2 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.192e-05/0.1412, allocations: 7.938 kB / 330 MB, free: 1.992 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001302/0.1413, allocations: 15.92 kB / 330.1 MB, free: 1.977 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.1414, allocations: 15.92 kB / 330.1 MB, free: 1.961 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002003/0.1417, allocations: 31.92 kB / 330.1 MB, free: 1.93 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 9.332e-05/0.1418, allocations: 47.91 kB / 330.2 MB, free: 1.883 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.1419, allocations: 15.98 kB / 330.2 MB, free: 1.867 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.142, allocations: 27.84 kB / 330.2 MB, free: 1.84 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.843e-05/0.1421, allocations: 27.86 kB / 330.2 MB, free: 1.812 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.1421, allocations: 4 kB / 330.2 MB, free: 1.809 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.416e-05/0.1422, allocations: 11.98 kB / 330.2 MB, free: 1.797 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.944e-05/0.1422, allocations: 11.94 kB / 330.2 MB, free: 1.785 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.994e-05/0.1423, allocations: 49.56 kB / 330.3 MB, free: 1.73 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001504/0.1424, allocations: 63.83 kB / 330.4 MB, free: 1.668 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1425, allocations: 0 / 330.4 MB, free: 1.668 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1425, allocations: 0 / 330.4 MB, free: 1.668 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.359e-06/0.1425, allocations: 0 / 330.4 MB, free: 1.668 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.0006319/0.1431, allocations: 383.6 kB / 330.7 MB, free: 1.246 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.1432, allocations: 8.031 kB / 330.7 MB, free: 1.238 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.83e-05/0.1432, allocations: 12.78 kB / 330.8 MB, free: 1.227 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.1434, allocations: 180.2 kB / 330.9 MB, free: 1.012 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.857e-05/0.1434, allocations: 4.375 kB / 330.9 MB, free: 1.008 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.1434, allocations: 4.375 kB / 330.9 MB, free: 1.004 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003031/0.1437, allocations: 106 kB / 331 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.1438, allocations: 0 / 331 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.1438, allocations: 3.984 kB / 331 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.1438, allocations: 3.938 kB / 331.1 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003452/0.1441, allocations: 103.9 kB / 331.2 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004448/0.1446, allocations: 312.7 kB / 331.5 MB, free: 440 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002775/0.1449, allocations: 82.56 kB / 331.5 MB, free: 348 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.1451, allocations: 60.94 kB / 331.6 MB, free: 284 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.1451, allocations: 0 / 331.6 MB, free: 284 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.1451, allocations: 34.56 kB / 331.6 MB, free: 240 kB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 8.22e-07/0.1451, allocations: 0 / 331.6 MB, free: 240 kB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006109/0.1458, allocations: 181.6 kB / 331.8 MB, free: 52 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.876e-05/0.1458, allocations: 55.34 kB / 331.9 MB, free: 15.98 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.694e-05/0.1459, allocations: 113.8 kB / 332 MB, free: 15.86 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.146, allocations: 25.7 kB / 332 MB, free: 15.83 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.069e-05/0.146, allocations: 92.05 kB / 332.1 MB, free: 15.74 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.1461, allocations: 16.17 kB / 332.1 MB, free: 15.72 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/0.1461, allocations: 13.72 kB / 332.1 MB, free: 15.7 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.1462, allocations: 322.8 kB / 332.4 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.1464, allocations: 47.95 kB / 332.5 MB, free: 15.33 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.1466, allocations: 55.91 kB / 332.5 MB, free: 15.28 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003261/0.1469, allocations: 100.8 kB / 332.6 MB, free: 15.18 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.1469, allocations: 0 / 332.6 MB, free: 15.18 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003798/0.1473, allocations: 137.5 kB / 332.8 MB, free: 15.04 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.1473, allocations: 11.98 kB / 332.8 MB, free: 15.02 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.1473, allocations: 0 / 332.8 MB, free: 15.02 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.1474, allocations: 0 / 332.8 MB, free: 15.02 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.1475, allocations: 23.98 kB / 332.8 MB, free: 15 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.1475, allocations: 4 kB / 332.8 MB, free: 15 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.317e-05/0.1476, allocations: 19.92 kB / 332.8 MB, free: 14.98 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.1477, allocations: 0 / 332.8 MB, free: 14.98 MB / 286.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.0001083/0.1478, allocations: 125.7 kB / 332.9 MB, free: 14.84 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.1478, allocations: 0 / 332.9 MB, free: 14.84 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004554/0.1483, allocations: 165.4 kB / 333.1 MB, free: 14.68 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.1483, allocations: 0 / 333.1 MB, free: 14.68 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1483, allocations: 0 / 333.1 MB, free: 14.68 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.1483, allocations: 3.984 kB / 333.1 MB, free: 14.67 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.1485, allocations: 186 kB / 333.3 MB, free: 14.44 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1485, allocations: 0 / 333.3 MB, free: 14.44 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.1486, allocations: 27.98 kB / 333.3 MB, free: 14.41 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1486, allocations: 0 / 333.3 MB, free: 14.41 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.1487, allocations: 8 kB / 333.3 MB, free: 14.41 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.1487, allocations: 7.984 kB / 333.3 MB, free: 14.4 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1487, allocations: 0 / 333.3 MB, free: 14.4 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004208/0.1491, allocations: 235.4 kB / 333.6 MB, free: 14.15 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.314e-05/0.1492, allocations: 85.02 kB / 333.7 MB, free: 14.05 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.1492, allocations: 3.984 kB / 333.7 MB, free: 14.05 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.1493, allocations: 23.98 kB / 333.7 MB, free: 14.02 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.458e-05/0.1494, allocations: 3.984 kB / 333.7 MB, free: 14.02 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.1494, allocations: 4 kB / 333.7 MB, free: 14.02 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.47e-05/0.1494, allocations: 87.28 kB / 333.8 MB, free: 13.93 MB / 286.1 MB Notification: Performance of sort global known variables: time 4.1e-07/0.1495, allocations: 0 / 333.8 MB, free: 13.93 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002263/0.1497, allocations: 11.94 kB / 333.8 MB, free: 13.92 MB / 286.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.0001422/0.1498, allocations: 107.5 kB / 333.9 MB, free: 13.8 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003934/0.1502, allocations: 107.9 kB / 334 MB, free: 13.7 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1503, allocations: 0 / 334 MB, free: 13.7 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001802/0.1504, allocations: 63.83 kB / 334.1 MB, free: 13.64 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.1507, allocations: 8 kB / 334.1 MB, free: 13.63 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003963/0.1511, allocations: 194.8 kB / 334.3 MB, free: 13.41 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.1514, allocations: 0.6887 MB / 334.9 MB, free: 12.7 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.469e-05/0.1514, allocations: 4 kB / 334.9 MB, free: 12.7 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.527e-05/0.1515, allocations: 15.44 kB / 335 MB, free: 12.68 MB / 286.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1515, allocations: 0 / 335 MB, free: 12.68 MB / 286.1 MB Notification: Performance of Templates: time 0.003352/0.1548, allocations: 0.7605 MB / 335.7 MB, free: 11.93 MB / 286.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)