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.001409/0.001409, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001144/0.001144, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.79/1.79, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.001522/0.001522, allocations: 47.92 kB / 280 MB, free: 3.191 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1211, allocations: 46.63 MB / 326.6 MB, free: 4.484 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002775/0.1239, allocations: 1.492 MB / 328.1 MB, free: 2.969 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008497/0.1248, allocations: 0.5384 MB / 328.6 MB, free: 2.422 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.481e-05/0.1248, allocations: 3.938 kB / 328.6 MB, free: 2.418 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001205/0.125, allocations: 19.91 kB / 328.7 MB, free: 2.398 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.194e-05/0.1251, allocations: 11.88 kB / 328.7 MB, free: 2.387 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001822/0.1252, allocations: 39.91 kB / 328.7 MB, free: 2.348 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 9.18e-05/0.1253, allocations: 51.86 kB / 328.8 MB, free: 2.297 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.1255, allocations: 19.97 kB / 328.8 MB, free: 2.277 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.1256, allocations: 23.92 kB / 328.8 MB, free: 2.254 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.293e-05/0.1257, allocations: 35.84 kB / 328.8 MB, free: 2.219 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.1257, allocations: 4 kB / 328.8 MB, free: 2.215 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.227e-05/0.1258, allocations: 16 kB / 328.9 MB, free: 2.199 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.148e-05/0.1258, allocations: 19.92 kB / 328.9 MB, free: 2.18 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.967e-05/0.1258, allocations: 27.84 kB / 328.9 MB, free: 2.152 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.126, allocations: 67.78 kB / 329 MB, free: 2.086 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.126, allocations: 4 kB / 329 MB, free: 2.082 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.126, allocations: 0 / 329 MB, free: 2.082 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.126, allocations: 0 / 329 MB, free: 2.082 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.0006905/0.1267, allocations: 375.6 kB / 329.3 MB, free: 1.668 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.1268, allocations: 15.97 kB / 329.4 MB, free: 1.652 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.1268, allocations: 12.84 kB / 329.4 MB, free: 1.641 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.1269, allocations: 164.3 kB / 329.5 MB, free: 1.441 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.127, allocations: 8.375 kB / 329.5 MB, free: 1.434 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.127, allocations: 4.375 kB / 329.5 MB, free: 1.43 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002707/0.1273, allocations: 89.89 kB / 329.6 MB, free: 1.336 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.1273, allocations: 3.984 kB / 329.6 MB, free: 1.332 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.1273, allocations: 0 / 329.6 MB, free: 1.332 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.1273, allocations: 0 / 329.6 MB, free: 1.332 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003178/0.1276, allocations: 79.92 kB / 329.7 MB, free: 1.254 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004324/0.1281, allocations: 316.6 kB / 330 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/0.1283, allocations: 74.53 kB / 330.1 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.1285, allocations: 48.94 kB / 330.1 MB, free: 0.7617 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.1285, allocations: 0 / 330.1 MB, free: 0.7617 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.1285, allocations: 34.5 kB / 330.2 MB, free: 0.7188 MB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 4.549e-06/0.1286, allocations: 4.078 kB / 330.2 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005669/0.1291, allocations: 161.4 kB / 330.3 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.1292, allocations: 51.41 kB / 330.4 MB, free: 500 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.979e-05/0.1293, allocations: 109.8 kB / 330.5 MB, free: 380 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.1293, allocations: 25.7 kB / 330.5 MB, free: 348 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.26e-05/0.1294, allocations: 96.12 kB / 330.6 MB, free: 248 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.1294, allocations: 11.81 kB / 330.6 MB, free: 236 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-05/0.1294, allocations: 13.72 kB / 330.6 MB, free: 216 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1296, allocations: 322.8 kB / 331 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.1297, allocations: 35.97 kB / 331 MB, free: 15.85 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.1299, allocations: 35.95 kB / 331 MB, free: 15.82 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002855/0.1302, allocations: 88.72 kB / 331.1 MB, free: 15.73 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1302, allocations: 4 kB / 331.1 MB, free: 15.72 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003325/0.1305, allocations: 105.5 kB / 331.2 MB, free: 15.61 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.1305, allocations: 8 kB / 331.2 MB, free: 15.61 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1305, allocations: 4 kB / 331.2 MB, free: 15.6 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.1306, allocations: 0 / 331.2 MB, free: 15.6 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.1307, allocations: 19.97 kB / 331.3 MB, free: 15.58 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.1307, allocations: 3.984 kB / 331.3 MB, free: 15.58 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.529e-05/0.1308, allocations: 19.92 kB / 331.3 MB, free: 15.56 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.1308, allocations: 3.938 kB / 331.3 MB, free: 15.55 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 8.386e-05/0.1309, allocations: 121.7 kB / 331.4 MB, free: 15.43 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.131, allocations: 11.91 kB / 331.4 MB, free: 15.41 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003825/0.1313, allocations: 129.5 kB / 331.5 MB, free: 15.28 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.1314, allocations: 4 kB / 331.5 MB, free: 15.28 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1314, allocations: 448 / 331.5 MB, free: 15.28 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1314, allocations: 0 / 331.5 MB, free: 15.28 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.1316, allocations: 185.6 kB / 331.7 MB, free: 15.05 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1316, allocations: 4 kB / 331.7 MB, free: 15.04 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.1317, allocations: 23.97 kB / 331.7 MB, free: 15.02 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1317, allocations: 4 kB / 331.8 MB, free: 15.02 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.1317, allocations: 384 / 331.8 MB, free: 15.02 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1317, allocations: 0 / 331.8 MB, free: 15.02 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1317, allocations: 3.938 kB / 331.8 MB, free: 15.01 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003901/0.1321, allocations: 231.9 kB / 332 MB, free: 14.77 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.078e-05/0.1322, allocations: 81.05 kB / 332.1 MB, free: 14.67 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.1322, allocations: 0 / 332.1 MB, free: 14.67 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.1323, allocations: 11.98 kB / 332.1 MB, free: 14.66 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.147e-05/0.1324, allocations: 11.98 kB / 332.1 MB, free: 14.65 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.1324, allocations: 0 / 332.1 MB, free: 14.65 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.092e-05/0.1324, allocations: 91.27 kB / 332.2 MB, free: 14.56 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1324, allocations: 0 / 332.2 MB, free: 14.56 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002247/0.1327, allocations: 19.84 kB / 332.2 MB, free: 14.54 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.0001411/0.1328, allocations: 99.19 kB / 332.3 MB, free: 14.43 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004029/0.1332, allocations: 87.92 kB / 332.4 MB, free: 14.35 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1332, allocations: 4 kB / 332.4 MB, free: 14.34 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.1334, allocations: 51.89 kB / 332.4 MB, free: 14.29 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.1337, allocations: 8 kB / 332.4 MB, free: 14.29 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003337/0.1341, allocations: 166.1 kB / 332.6 MB, free: 14.1 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.1343, allocations: 0.6885 MB / 333.3 MB, free: 13.38 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.96e-05/0.1343, allocations: 0 / 333.3 MB, free: 13.38 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.421e-05/0.1344, allocations: 15.42 kB / 333.3 MB, free: 13.37 MB / 286.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1344, allocations: 0 / 333.3 MB, free: 13.37 MB / 286.1 MB Notification: Performance of Templates: time 0.00317/0.1376, allocations: 0.9111 MB / 334.2 MB, free: 12.46 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)