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.001446/0.001446, allocations: 111.1 kB / 16.51 MB, free: 6.707 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.001597/0.001597, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.763/1.763, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.001064/0.001064, allocations: 48.3 kB / 279.3 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1159, allocations: 46.62 MB / 325.9 MB, free: 4.91 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.00309/0.119, allocations: 1.564 MB / 327.5 MB, free: 3.324 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.1202, allocations: 0.5352 MB / 328 MB, free: 2.781 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.138e-05/0.1202, allocations: 4 kB / 328 MB, free: 2.777 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000143/0.1204, allocations: 8 kB / 328 MB, free: 2.77 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.818e-05/0.1205, allocations: 11.94 kB / 328.1 MB, free: 2.758 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001859/0.1207, allocations: 35.91 kB / 328.1 MB, free: 2.723 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.1208, allocations: 47.86 kB / 328.1 MB, free: 2.676 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.1209, allocations: 19.97 kB / 328.2 MB, free: 2.656 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.1211, allocations: 27.86 kB / 328.2 MB, free: 2.629 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.792e-05/0.1212, allocations: 27.91 kB / 328.2 MB, free: 2.602 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.1212, allocations: 4 kB / 328.2 MB, free: 2.598 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.926e-05/0.1213, allocations: 12 kB / 328.2 MB, free: 2.586 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.427e-05/0.1213, allocations: 19.91 kB / 328.3 MB, free: 2.566 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.766e-05/0.1214, allocations: 27.86 kB / 328.3 MB, free: 2.539 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.1216, allocations: 67.73 kB / 328.3 MB, free: 2.473 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.397e-06/0.1216, allocations: 3.984 kB / 328.3 MB, free: 2.469 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1216, allocations: 0 / 328.3 MB, free: 2.469 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.982e-06/0.1216, allocations: 0 / 328.3 MB, free: 2.469 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.0007478/0.1224, allocations: 379.6 kB / 328.7 MB, free: 2.051 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.1224, allocations: 8.031 kB / 328.7 MB, free: 2.043 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.1225, allocations: 12.84 kB / 328.7 MB, free: 2.031 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.1226, allocations: 168.3 kB / 328.9 MB, free: 1.828 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.1226, allocations: 4.375 kB / 328.9 MB, free: 1.824 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.1227, allocations: 4.375 kB / 328.9 MB, free: 1.82 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002937/0.123, allocations: 93.83 kB / 329 MB, free: 1.723 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.123, allocations: 0 / 329 MB, free: 1.723 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.123, allocations: 4 kB / 329 MB, free: 1.719 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.932e-06/0.123, allocations: 0 / 329 MB, free: 1.719 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003095/0.1233, allocations: 83.91 kB / 329.1 MB, free: 1.637 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004757/0.1238, allocations: 312.6 kB / 329.4 MB, free: 1.281 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.1241, allocations: 82.52 kB / 329.5 MB, free: 1.191 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/0.1242, allocations: 48.94 kB / 329.5 MB, free: 1.141 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.1243, allocations: 0 / 329.5 MB, free: 1.141 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.1243, allocations: 30.56 kB / 329.6 MB, free: 1.102 MB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 7.82e-07/0.1243, allocations: 0 / 329.6 MB, free: 1.102 MB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005531/0.1248, allocations: 157.5 kB / 329.7 MB, free: 0.9414 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.1249, allocations: 55.41 kB / 329.8 MB, free: 0.875 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.804e-05/0.125, allocations: 109.8 kB / 329.9 MB, free: 0.7578 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.125, allocations: 25.7 kB / 329.9 MB, free: 0.7266 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.59e-05/0.1251, allocations: 88.14 kB / 330 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.1251, allocations: 19.8 kB / 330 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-05/0.1252, allocations: 13.72 kB / 330 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1253, allocations: 326.8 kB / 330.3 MB, free: 276 kB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.1255, allocations: 27.97 kB / 330.4 MB, free: 248 kB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.1256, allocations: 43.95 kB / 330.4 MB, free: 204 kB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002747/0.1259, allocations: 88.67 kB / 330.5 MB, free: 112 kB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1259, allocations: 0 / 330.5 MB, free: 112 kB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003357/0.1263, allocations: 113.6 kB / 330.6 MB, free: 15.99 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.624e-05/0.1263, allocations: 4 kB / 330.6 MB, free: 15.98 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1263, allocations: 4 kB / 330.6 MB, free: 15.98 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1263, allocations: 0 / 330.6 MB, free: 15.98 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.1265, allocations: 15.94 kB / 330.6 MB, free: 15.97 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1265, allocations: 0 / 330.6 MB, free: 15.97 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.385e-05/0.1266, allocations: 23.91 kB / 330.6 MB, free: 15.95 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.1266, allocations: 4.375 kB / 330.7 MB, free: 15.94 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.519e-05/0.1267, allocations: 113.8 kB / 330.8 MB, free: 15.82 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.1267, allocations: 8.344 kB / 330.8 MB, free: 15.81 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004011/0.1271, allocations: 141.5 kB / 330.9 MB, free: 15.67 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1271, allocations: 3.938 kB / 330.9 MB, free: 15.66 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.1271, allocations: 0 / 330.9 MB, free: 15.66 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.1271, allocations: 0 / 330.9 MB, free: 15.66 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/0.1273, allocations: 189.6 kB / 331.1 MB, free: 15.43 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1274, allocations: 0 / 331.1 MB, free: 15.43 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.1275, allocations: 27.97 kB / 331.1 MB, free: 15.4 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1275, allocations: 0 / 331.1 MB, free: 15.4 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.1275, allocations: 0 / 331.1 MB, free: 15.4 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1275, allocations: 0 / 331.1 MB, free: 15.4 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1275, allocations: 0 / 331.1 MB, free: 15.4 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004126/0.1279, allocations: 235.2 kB / 331.4 MB, free: 15.16 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.373e-05/0.128, allocations: 77.11 kB / 331.4 MB, free: 15.06 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.128, allocations: 0 / 331.4 MB, free: 15.06 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.1281, allocations: 11.98 kB / 331.4 MB, free: 15.05 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.931e-05/0.1282, allocations: 7.984 kB / 331.4 MB, free: 15.04 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.1282, allocations: 4 kB / 331.5 MB, free: 15.04 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.105e-05/0.1283, allocations: 87.27 kB / 331.5 MB, free: 14.95 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1283, allocations: 0 / 331.5 MB, free: 14.95 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002221/0.1285, allocations: 23.84 kB / 331.6 MB, free: 14.93 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.0001565/0.1287, allocations: 95.25 kB / 331.7 MB, free: 14.83 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003786/0.1291, allocations: 87.86 kB / 331.7 MB, free: 14.74 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1291, allocations: 0 / 331.7 MB, free: 14.74 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000163/0.1292, allocations: 51.95 kB / 331.8 MB, free: 14.69 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.1296, allocations: 7.938 kB / 331.8 MB, free: 14.68 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004337/0.13, allocations: 187.7 kB / 332 MB, free: 14.48 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.1304, allocations: 0.6926 MB / 332.7 MB, free: 13.76 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.601e-05/0.1305, allocations: 0 / 332.7 MB, free: 13.76 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.128e-05/0.1305, allocations: 11.44 kB / 332.7 MB, free: 13.75 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1305, allocations: 0 / 332.7 MB, free: 13.75 MB / 286.1 MB Notification: Performance of Templates: time 0.003559/0.1341, allocations: 0.7769 MB / 333.5 MB, free: 12.97 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)