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.001166/0.001166, allocations: 88.55 kB / 16.31 MB, free: 5.676 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.001437/0.001437, allocations: 177.8 kB / 17.2 MB, free: 5.598 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.615/1.615, allocations: 205.4 MB / 223.4 MB, free: 13.02 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.00057/0.0005701, allocations: 12 kB / 280.1 MB, free: 3.711 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1216, allocations: 47.57 MB / 327.7 MB, free: 4.066 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002209/0.1239, allocations: 1.202 MB / 328.9 MB, free: 2.848 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.125, allocations: 0.4966 MB / 329.4 MB, free: 2.344 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.022e-05/0.1251, allocations: 0 / 329.4 MB, free: 2.344 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.1252, allocations: 15.92 kB / 329.4 MB, free: 2.328 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.069e-05/0.1253, allocations: 7.938 kB / 329.4 MB, free: 2.32 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001842/0.1255, allocations: 27.98 kB / 329.5 MB, free: 2.293 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.1256, allocations: 55.83 kB / 329.5 MB, free: 2.238 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.1258, allocations: 19.88 kB / 329.5 MB, free: 2.219 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.1259, allocations: 23.91 kB / 329.6 MB, free: 2.195 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.988e-05/0.126, allocations: 23.92 kB / 329.6 MB, free: 2.172 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.1261, allocations: 0 / 329.6 MB, free: 2.172 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.518e-05/0.1261, allocations: 12 kB / 329.6 MB, free: 2.16 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.876e-05/0.1262, allocations: 15.91 kB / 329.6 MB, free: 2.145 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.529e-05/0.1262, allocations: 29.7 kB / 329.6 MB, free: 2.109 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.1263, allocations: 47.86 kB / 329.7 MB, free: 2.062 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1264, allocations: 0 / 329.7 MB, free: 2.062 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.1264, allocations: 4 kB / 329.7 MB, free: 2.059 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1264, allocations: 0 / 329.7 MB, free: 2.059 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.0006193/0.127, allocations: 375.5 kB / 330.1 MB, free: 1.645 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.127, allocations: 12.03 kB / 330.1 MB, free: 1.633 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.964e-05/0.1271, allocations: 7.906 kB / 330.1 MB, free: 1.625 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.1273, allocations: 178.9 kB / 330.2 MB, free: 1.41 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.1273, allocations: 11.95 kB / 330.3 MB, free: 1.398 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.1273, allocations: 0 / 330.3 MB, free: 1.398 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00031/0.1276, allocations: 97.58 kB / 330.4 MB, free: 1.297 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.1277, allocations: 7.938 kB / 330.4 MB, free: 1.289 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.1277, allocations: 0 / 330.4 MB, free: 1.289 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.1277, allocations: 0 / 330.4 MB, free: 1.289 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003301/0.128, allocations: 99.92 kB / 330.5 MB, free: 1.191 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006038/0.1286, allocations: 308.8 kB / 330.8 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.1289, allocations: 82.53 kB / 330.8 MB, free: 0.75 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/0.1291, allocations: 56.95 kB / 330.9 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.1291, allocations: 3.984 kB / 330.9 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.1292, allocations: 34.56 kB / 330.9 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 2.073e-06/0.1292, allocations: 0 / 330.9 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006172/0.1298, allocations: 185.7 kB / 331.1 MB, free: 468 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.1299, allocations: 55.41 kB / 331.2 MB, free: 400 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.13, allocations: 121.7 kB / 331.3 MB, free: 268 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.13, allocations: 25.7 kB / 331.3 MB, free: 236 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.377e-05/0.1301, allocations: 95.97 kB / 331.4 MB, free: 136 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.1301, allocations: 15.81 kB / 331.4 MB, free: 120 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.149e-06/0.1301, allocations: 0 / 331.4 MB, free: 120 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.1303, allocations: 314.8 kB / 331.7 MB, free: 15.8 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.1305, allocations: 51.97 kB / 331.8 MB, free: 15.75 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.1306, allocations: 48.02 kB / 331.8 MB, free: 15.7 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.1308, allocations: 51.97 kB / 331.9 MB, free: 15.65 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1308, allocations: 0 / 331.9 MB, free: 15.65 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003472/0.1311, allocations: 133.6 kB / 332 MB, free: 15.52 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.221e-05/0.1312, allocations: 7.984 kB / 332 MB, free: 15.51 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.1312, allocations: 4 kB / 332 MB, free: 15.5 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.1312, allocations: 0 / 332 MB, free: 15.5 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.1314, allocations: 23.98 kB / 332 MB, free: 15.48 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.1314, allocations: 0 / 332 MB, free: 15.48 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.1315, allocations: 23.83 kB / 332.1 MB, free: 15.46 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.1315, allocations: 7.953 kB / 332.1 MB, free: 15.45 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001403/0.1317, allocations: 117.8 kB / 332.2 MB, free: 15.32 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.553e-05/0.1317, allocations: 4 kB / 332.2 MB, free: 15.32 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004594/0.1322, allocations: 153.5 kB / 332.3 MB, free: 15.16 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.1322, allocations: 4 kB / 332.3 MB, free: 15.16 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.1322, allocations: 0 / 332.3 MB, free: 15.16 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1322, allocations: 3.938 kB / 332.4 MB, free: 15.16 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.1324, allocations: 193.5 kB / 332.5 MB, free: 14.92 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1324, allocations: 0 / 332.5 MB, free: 14.92 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.1326, allocations: 27.98 kB / 332.6 MB, free: 14.89 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.1326, allocations: 0 / 332.6 MB, free: 14.89 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.1326, allocations: 4 kB / 332.6 MB, free: 14.89 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.1326, allocations: 3.984 kB / 332.6 MB, free: 14.88 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.1326, allocations: 0 / 332.6 MB, free: 14.88 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004177/0.133, allocations: 243.4 kB / 332.8 MB, free: 14.63 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.233e-05/0.1331, allocations: 81.02 kB / 332.9 MB, free: 14.53 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.1331, allocations: 3.984 kB / 332.9 MB, free: 14.53 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.1333, allocations: 24.36 kB / 332.9 MB, free: 14.5 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.452e-05/0.1333, allocations: 7.984 kB / 332.9 MB, free: 14.5 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.1333, allocations: 4.172 kB / 332.9 MB, free: 14.49 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.629e-05/0.1334, allocations: 91.22 kB / 333 MB, free: 14.4 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1334, allocations: 0 / 333 MB, free: 14.4 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002468/0.1337, allocations: 8 kB / 333 MB, free: 14.39 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 (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.0001883/0.1339, allocations: 107.2 kB / 333.1 MB, free: 14.28 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003786/0.1342, allocations: 111.9 kB / 333.2 MB, free: 14.17 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1343, allocations: 0 / 333.2 MB, free: 14.17 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001677/0.1344, allocations: 59.95 kB / 333.3 MB, free: 14.11 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.1348, allocations: 15.95 kB / 333.3 MB, free: 14.1 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004652/0.1352, allocations: 178.8 kB / 333.5 MB, free: 13.9 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.1356, allocations: 0.6887 MB / 334.2 MB, free: 13.18 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.272e-05/0.1356, allocations: 8 kB / 334.2 MB, free: 13.18 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.681e-05/0.1356, allocations: 23.3 kB / 334.2 MB, free: 13.15 MB / 286.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1357, allocations: 0 / 334.2 MB, free: 13.15 MB / 286.1 MB Notification: Performance of Templates: time 0.003719/0.1394, allocations: 0.7334 MB / 334.9 MB, free: 12.42 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)