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.001146/0.001147, allocations: 94.94 kB / 16.3 MB, free: 5.531 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.001158/0.001158, allocations: 178 kB / 17.19 MB, free: 5.465 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.53/1.53, allocations: 205.4 MB / 223.4 MB, free: 13.18 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.0004558/0.000456, allocations: 8 kB / 280.1 MB, free: 3.773 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.109, allocations: 47.58 MB / 327.7 MB, free: 4.121 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.001596/0.1106, allocations: 1.188 MB / 328.9 MB, free: 2.918 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007347/0.1114, allocations: 0.5 MB / 329.4 MB, free: 2.41 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.487e-05/0.1114, allocations: 0 / 329.4 MB, free: 2.41 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.443e-05/0.1115, allocations: 19.92 kB / 329.4 MB, free: 2.391 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.239e-05/0.1116, allocations: 7.984 kB / 329.4 MB, free: 2.383 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001325/0.1117, allocations: 27.86 kB / 329.4 MB, free: 2.355 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 7.014e-05/0.1118, allocations: 35.95 kB / 329.5 MB, free: 2.32 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.1119, allocations: 15.98 kB / 329.5 MB, free: 2.305 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.1121, allocations: 19.92 kB / 329.5 MB, free: 2.285 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.331e-05/0.1121, allocations: 27.84 kB / 329.5 MB, free: 2.258 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.1121, allocations: 0 / 329.5 MB, free: 2.258 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.918e-05/0.1122, allocations: 23.92 kB / 329.6 MB, free: 2.234 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.259e-05/0.1122, allocations: 7.984 kB / 329.6 MB, free: 2.227 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.084e-05/0.1123, allocations: 33.64 kB / 329.6 MB, free: 2.188 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.1124, allocations: 43.91 kB / 329.6 MB, free: 2.145 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.1124, allocations: 0 / 329.6 MB, free: 2.145 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1124, allocations: 0 / 329.6 MB, free: 2.145 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.1124, allocations: 0 / 329.6 MB, free: 2.145 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.0005815/0.113, allocations: 387.5 kB / 330 MB, free: 1.719 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.113, allocations: 8.031 kB / 330 MB, free: 1.711 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.232e-05/0.1131, allocations: 7.906 kB / 330 MB, free: 1.703 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.1132, allocations: 174.8 kB / 330.2 MB, free: 1.492 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.1132, allocations: 7.953 kB / 330.2 MB, free: 1.484 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.1133, allocations: 8 kB / 330.2 MB, free: 1.477 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002759/0.1135, allocations: 93.64 kB / 330.3 MB, free: 1.379 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.1136, allocations: 0 / 330.3 MB, free: 1.379 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.1136, allocations: 0 / 330.3 MB, free: 1.379 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.1136, allocations: 4 kB / 330.3 MB, free: 1.375 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003268/0.1139, allocations: 99.91 kB / 330.4 MB, free: 1.277 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003818/0.1143, allocations: 308.8 kB / 330.7 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.1146, allocations: 82.53 kB / 330.8 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.1146, allocations: 0 / 330.8 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.1146, allocations: 38.59 kB / 330.8 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 2.484e-06/0.1147, allocations: 3.984 kB / 330.8 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005638/0.1152, allocations: 181.6 kB / 331 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.1153, allocations: 51.41 kB / 331.1 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.186e-05/0.1154, allocations: 117.8 kB / 331.2 MB, free: 424 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.1154, allocations: 25.7 kB / 331.2 MB, free: 392 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.118e-05/0.1154, allocations: 99.97 kB / 331.3 MB, free: 288 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.1155, allocations: 7.812 kB / 331.3 MB, free: 280 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-06/0.1155, allocations: 4 kB / 331.3 MB, free: 276 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.1156, allocations: 322.8 kB / 331.6 MB, free: 15.95 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.1158, allocations: 51.91 kB / 331.7 MB, free: 15.89 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.116, allocations: 52.27 kB / 331.7 MB, free: 15.84 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.1161, allocations: 47.97 kB / 331.8 MB, free: 15.8 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1161, allocations: 0 / 331.8 MB, free: 15.8 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003461/0.1165, allocations: 133.6 kB / 331.9 MB, free: 15.66 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.1165, allocations: 7.938 kB / 331.9 MB, free: 15.65 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1165, allocations: 3.984 kB / 331.9 MB, free: 15.65 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.1165, allocations: 0 / 331.9 MB, free: 15.65 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.1167, allocations: 27.98 kB / 331.9 MB, free: 15.62 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1167, allocations: 0 / 331.9 MB, free: 15.62 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.203e-05/0.1168, allocations: 23.83 kB / 332 MB, free: 15.6 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.892e-06/0.1168, allocations: 0 / 332 MB, free: 15.6 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 8.911e-05/0.1169, allocations: 125.7 kB / 332.1 MB, free: 15.46 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.1169, allocations: 448 / 332.1 MB, free: 15.46 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004098/0.1174, allocations: 157.6 kB / 332.2 MB, free: 15.3 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1174, allocations: 0 / 332.2 MB, free: 15.3 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1174, allocations: 0 / 332.2 MB, free: 15.3 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1174, allocations: 0 / 332.2 MB, free: 15.3 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.1176, allocations: 197.5 kB / 332.4 MB, free: 15.06 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.1176, allocations: 0 / 332.4 MB, free: 15.06 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.1177, allocations: 23.98 kB / 332.5 MB, free: 15.04 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1177, allocations: 0 / 332.5 MB, free: 15.04 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.1177, allocations: 8 kB / 332.5 MB, free: 15.03 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1177, allocations: 4 kB / 332.5 MB, free: 15.03 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1178, allocations: 3.938 kB / 332.5 MB, free: 15.02 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004035/0.1182, allocations: 239.4 kB / 332.7 MB, free: 14.77 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.985e-05/0.1182, allocations: 81.02 kB / 332.8 MB, free: 14.68 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.1182, allocations: 4 kB / 332.8 MB, free: 14.67 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.1184, allocations: 27.97 kB / 332.8 MB, free: 14.64 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.1184, allocations: 0 / 332.8 MB, free: 14.64 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.391e-05/0.1184, allocations: 4 kB / 332.8 MB, free: 14.64 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.995e-05/0.1185, allocations: 87.27 kB / 332.9 MB, free: 14.55 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1185, allocations: 0 / 332.9 MB, free: 14.55 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000219/0.1187, allocations: 12 kB / 332.9 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 (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.0001224/0.1189, allocations: 95.25 kB / 333 MB, free: 14.44 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003687/0.1192, allocations: 115.8 kB / 333.1 MB, free: 14.33 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.614e-06/0.1192, allocations: 3.938 kB / 333.1 MB, free: 14.32 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001724/0.1194, allocations: 59.95 kB / 333.2 MB, free: 14.27 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.1196, allocations: 12.17 kB / 333.2 MB, free: 14.25 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003444/0.12, allocations: 186.7 kB / 333.4 MB, free: 14.05 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.1202, allocations: 0.6926 MB / 334.1 MB, free: 13.33 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.089e-05/0.1203, allocations: 4 kB / 334.1 MB, free: 13.32 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.094e-05/0.1203, allocations: 11.44 kB / 334.1 MB, free: 13.31 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1203, allocations: 0 / 334.1 MB, free: 13.31 MB / 286.1 MB Notification: Performance of Templates: time 0.003006/0.1233, allocations: 0.7403 MB / 334.8 MB, free: 12.58 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: