Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2020,variableFilter="",fileNamePrefix="Modelica_3.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.01098/0.01098, allocations: 105.9 kB / 15.73 MB, free: 6 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.001242/0.001242, allocations: 189 kB / 16.67 MB, free: 5.926 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.964/1.964, allocations: 205.1 MB / 222.6 MB, free: 4.484 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.00117/0.00117, allocations: 50.47 kB / 326.5 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1079, allocations: 46.63 MB / 373.1 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.0027/0.1106, allocations: 1.485 MB / 374.6 MB, free: 15.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009312/0.1116, allocations: 0.5382 MB / 375.2 MB, free: 15.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.279e-05/0.1116, allocations: 0 / 375.2 MB, free: 15.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001358/0.1118, allocations: 19.88 kB / 375.2 MB, free: 15.25 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.407e-05/0.1119, allocations: 7.922 kB / 375.2 MB, free: 15.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001793/0.1121, allocations: 43.89 kB / 375.2 MB, free: 15.2 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.1122, allocations: 63.78 kB / 375.3 MB, free: 15.14 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.1123, allocations: 15.98 kB / 375.3 MB, free: 15.12 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.1125, allocations: 23.92 kB / 375.3 MB, free: 15.1 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.852e-05/0.1126, allocations: 31.89 kB / 375.4 MB, free: 15.07 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.1126, allocations: 4 kB / 375.4 MB, free: 15.07 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.427e-05/0.1127, allocations: 27.88 kB / 375.4 MB, free: 15.04 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.847e-05/0.1127, allocations: 7.984 kB / 375.4 MB, free: 15.03 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.27e-05/0.1127, allocations: 23.86 kB / 375.4 MB, free: 15.01 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.1129, allocations: 79.72 kB / 375.5 MB, free: 14.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1129, allocations: 0 / 375.5 MB, free: 14.93 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.1129, allocations: 0 / 375.5 MB, free: 14.93 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.113, allocations: 0 / 375.5 MB, free: 14.93 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.0008435/0.1138, allocations: 379.4 kB / 375.9 MB, free: 14.51 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.755e-05/0.1139, allocations: 8.031 kB / 375.9 MB, free: 14.5 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.114e-05/0.1139, allocations: 12.78 kB / 375.9 MB, free: 14.49 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.1141, allocations: 172.2 kB / 376.1 MB, free: 14.29 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.1142, allocations: 4.375 kB / 376.1 MB, free: 14.28 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.1142, allocations: 4.375 kB / 376.1 MB, free: 14.28 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003289/0.1145, allocations: 89.94 kB / 376.2 MB, free: 14.18 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.1145, allocations: 3.938 kB / 376.2 MB, free: 14.18 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.1146, allocations: 4 kB / 376.2 MB, free: 14.18 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.1146, allocations: 3.938 kB / 376.2 MB, free: 14.17 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003436/0.1149, allocations: 79.92 kB / 376.3 MB, free: 14.09 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007298/0.1157, allocations: 308.6 kB / 376.6 MB, free: 13.74 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003218/0.116, allocations: 78.56 kB / 376.6 MB, free: 13.66 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.1162, allocations: 48.94 kB / 376.7 MB, free: 13.61 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.296e-05/0.1162, allocations: 4 kB / 376.7 MB, free: 13.6 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.654e-05/0.1163, allocations: 34.56 kB / 376.7 MB, free: 13.56 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.303e-06/0.1163, allocations: 0 / 376.7 MB, free: 13.56 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.00073/0.117, allocations: 153.5 kB / 376.9 MB, free: 13.4 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.367e-05/0.1171, allocations: 51.41 kB / 376.9 MB, free: 13.34 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.1173, allocations: 109.8 kB / 377 MB, free: 13.22 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.1173, allocations: 29.7 kB / 377.1 MB, free: 13.19 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.747e-05/0.1174, allocations: 96.03 kB / 377.2 MB, free: 13.09 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.786e-05/0.1174, allocations: 11.75 kB / 377.2 MB, free: 13.08 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.484e-05/0.1175, allocations: 17.72 kB / 377.2 MB, free: 13.05 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.1177, allocations: 326.8 kB / 377.5 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.1179, allocations: 31.97 kB / 377.5 MB, free: 12.7 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.118, allocations: 40.33 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003213/0.1184, allocations: 84.78 kB / 377.7 MB, free: 12.57 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1184, allocations: 0 / 377.7 MB, free: 12.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004386/0.1188, allocations: 113.5 kB / 377.8 MB, free: 12.45 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.1189, allocations: 11.94 kB / 377.8 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.1189, allocations: 0 / 377.8 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.919e-05/0.1189, allocations: 0 / 377.8 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.1191, allocations: 23.97 kB / 377.8 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.1191, allocations: 0 / 377.8 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.332e-05/0.1192, allocations: 11.98 kB / 377.8 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.1192, allocations: 0 / 377.8 MB, free: 12.41 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.0001461/0.1194, allocations: 117.8 kB / 377.9 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/0.1194, allocations: 4 kB / 377.9 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004776/0.1199, allocations: 137.5 kB / 378.1 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.1199, allocations: 0 / 378.1 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.1199, allocations: 0 / 378.1 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.12, allocations: 0 / 378.1 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000258/0.1202, allocations: 193.5 kB / 378.3 MB, free: 11.9 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1202, allocations: 4.375 kB / 378.3 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.1204, allocations: 23.97 kB / 378.3 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.1204, allocations: 0 / 378.3 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.1204, allocations: 8 kB / 378.3 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1204, allocations: 4 kB / 378.3 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1204, allocations: 0 / 378.3 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004321/0.1208, allocations: 223.4 kB / 378.5 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.504e-05/0.1209, allocations: 84.95 kB / 378.6 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.1209, allocations: 0 / 378.6 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.121, allocations: 19.98 kB / 378.6 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.59e-05/0.1211, allocations: 11.97 kB / 378.6 MB, free: 11.49 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.1211, allocations: 0 / 378.6 MB, free: 11.49 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.796e-05/0.1212, allocations: 91.27 kB / 378.7 MB, free: 11.4 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1212, allocations: 0 / 378.7 MB, free: 11.4 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002392/0.1214, allocations: 15.94 kB / 378.7 MB, free: 11.39 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.0001565/0.1216, allocations: 99.25 kB / 378.8 MB, free: 11.28 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004019/0.122, allocations: 87.84 kB / 378.9 MB, free: 11.2 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.122, allocations: 0 / 378.9 MB, free: 11.2 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001895/0.1222, allocations: 47.95 kB / 379 MB, free: 11.15 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.1226, allocations: 16.22 kB / 379 MB, free: 11.13 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004826/0.1231, allocations: 165.9 kB / 379.1 MB, free: 10.94 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000465/0.1235, allocations: 0.6885 MB / 379.8 MB, free: 10.23 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.995e-05/0.1236, allocations: 0 / 379.8 MB, free: 10.23 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.917e-05/0.1236, allocations: 11.44 kB / 379.8 MB, free: 10.21 MB / 318.1 MB Notification: Performance of SimCode: time 7.62e-07/0.1236, allocations: 4 kB / 379.8 MB, free: 10.21 MB / 318.1 MB Notification: Performance of Templates: time 0.004172/0.1278, allocations: 0.9176 MB / 380.8 MB, free: 9.293 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile (rm -f Modelica_3.1_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_3.1_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_3.1_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_3.1_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_3.1_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1)