Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2020,variableFilter="",fileNamePrefix="Modelica_3.2.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.001209/0.001209, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001355/0.001355, allocations: 191.6 kB / 16.13 MB, free: 6.668 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.704/1.704, allocations: 205.1 MB / 222 MB, free: 4.758 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.001346/0.001346, allocations: 51.92 kB / 278 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3819, allocations: 46.63 MB / 324.7 MB, free: 1.914 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003503/0.3855, allocations: 1.552 MB / 326.2 MB, free: 0.6914 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.3866, allocations: 0.5397 MB / 326.8 MB, free: 272 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.806e-05/0.3867, allocations: 7.875 kB / 326.8 MB, free: 264 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000155/0.3869, allocations: 10.75 kB / 326.8 MB, free: 260 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 9.795e-05/0.387, allocations: 7.922 kB / 326.8 MB, free: 252 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000191/0.3872, allocations: 32.55 kB / 326.8 MB, free: 232 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 9.988e-05/0.3873, allocations: 56.47 kB / 326.9 MB, free: 196 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.3874, allocations: 15.7 kB / 326.9 MB, free: 188 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.3876, allocations: 24.94 kB / 326.9 MB, free: 172 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.047e-05/0.3877, allocations: 31.56 kB / 326.9 MB, free: 148 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.3877, allocations: 3.625 kB / 326.9 MB, free: 148 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.573e-05/0.3878, allocations: 14.78 kB / 327 MB, free: 144 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 2.634e-05/0.3878, allocations: 14.27 kB / 327 MB, free: 132 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 5.355e-05/0.3879, allocations: 24.41 kB / 327 MB, free: 112 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.3881, allocations: 60.09 kB / 327.1 MB, free: 68 kB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.3881, allocations: 5 kB / 327.1 MB, free: 64 kB / 254.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.3881, allocations: 0 / 327.1 MB, free: 64 kB / 254.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.3881, allocations: 0 / 327.1 MB, free: 64 kB / 254.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.0009198/0.3891, allocations: 388.3 kB / 327.4 MB, free: 15.67 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.899e-05/0.3891, allocations: 8.688 kB / 327.4 MB, free: 15.67 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.004e-05/0.3892, allocations: 7.844 kB / 327.5 MB, free: 15.66 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.3894, allocations: 175.8 kB / 327.6 MB, free: 15.46 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.3894, allocations: 6.562 kB / 327.6 MB, free: 15.45 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.3895, allocations: 10.66 kB / 327.6 MB, free: 15.45 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003335/0.3898, allocations: 86.14 kB / 327.7 MB, free: 15.38 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.3898, allocations: 1.469 kB / 327.7 MB, free: 15.38 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.077e-05/0.3898, allocations: 7.984 kB / 327.7 MB, free: 15.38 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.3899, allocations: 1.125 kB / 327.7 MB, free: 15.38 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003579/0.3902, allocations: 83.19 kB / 327.8 MB, free: 15.34 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004912/0.3907, allocations: 304.7 kB / 328.1 MB, free: 15.02 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002891/0.391, allocations: 74.66 kB / 328.2 MB, free: 14.96 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.3912, allocations: 46.97 kB / 328.2 MB, free: 14.94 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.3912, allocations: 1.406 kB / 328.2 MB, free: 14.94 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.3913, allocations: 38.59 kB / 328.3 MB, free: 14.89 MB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.3913, allocations: 3.938 kB / 328.3 MB, free: 14.89 MB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006402/0.3919, allocations: 153.1 kB / 328.4 MB, free: 14.8 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.392, allocations: 52.44 kB / 328.5 MB, free: 14.73 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.683e-05/0.3921, allocations: 108.4 kB / 328.6 MB, free: 14.63 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.3921, allocations: 29.7 kB / 328.6 MB, free: 14.59 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.072e-05/0.3922, allocations: 91.45 kB / 328.7 MB, free: 14.5 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.3922, allocations: 13.98 kB / 328.7 MB, free: 14.49 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.225e-05/0.3923, allocations: 16.94 kB / 328.7 MB, free: 14.47 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3924, allocations: 321 kB / 329 MB, free: 14.15 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.3926, allocations: 39.58 kB / 329.1 MB, free: 14.13 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.3928, allocations: 36.47 kB / 329.1 MB, free: 14.12 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003193/0.3931, allocations: 84.25 kB / 329.2 MB, free: 14.07 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3931, allocations: 1.406 kB / 329.2 MB, free: 14.07 MB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003443/0.3935, allocations: 115.7 kB / 329.3 MB, free: 14 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3935, allocations: 6 kB / 329.3 MB, free: 14 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.3935, allocations: 0 / 329.3 MB, free: 14 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.3935, allocations: 0 / 329.3 MB, free: 14 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.3937, allocations: 21.7 kB / 329.3 MB, free: 13.99 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.3937, allocations: 0 / 329.3 MB, free: 13.99 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.519e-05/0.3938, allocations: 11.58 kB / 329.4 MB, free: 13.98 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.3938, allocations: 5.203 kB / 329.4 MB, free: 13.98 MB / 270.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.739e-05/0.3939, allocations: 125.2 kB / 329.5 MB, free: 13.85 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.062e-05/0.3939, allocations: 6.25 kB / 329.5 MB, free: 13.85 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004231/0.3944, allocations: 128.2 kB / 329.6 MB, free: 13.76 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3944, allocations: 0.9688 kB / 329.6 MB, free: 13.76 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.3944, allocations: 9.047 kB / 329.6 MB, free: 13.75 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3944, allocations: 0 / 329.6 MB, free: 13.75 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.3946, allocations: 192.1 kB / 329.8 MB, free: 13.53 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3946, allocations: 0 / 329.8 MB, free: 13.53 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.3947, allocations: 19.67 kB / 329.8 MB, free: 13.53 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.3948, allocations: 11.92 kB / 329.8 MB, free: 13.52 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.3948, allocations: 5.375 kB / 329.9 MB, free: 13.51 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3948, allocations: 384 / 329.9 MB, free: 13.51 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3948, allocations: 1.25 kB / 329.9 MB, free: 13.51 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003964/0.3952, allocations: 213.1 kB / 330.1 MB, free: 13.34 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.241e-05/0.3952, allocations: 86.31 kB / 330.1 MB, free: 13.24 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.3953, allocations: 5.375 kB / 330.2 MB, free: 13.23 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.3954, allocations: 15.02 kB / 330.2 MB, free: 13.23 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.027e-05/0.3954, allocations: 6.797 kB / 330.2 MB, free: 13.22 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.3955, allocations: 1.156 kB / 330.2 MB, free: 13.22 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.206e-05/0.3955, allocations: 86.12 kB / 330.3 MB, free: 13.14 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3955, allocations: 1.344 kB / 330.3 MB, free: 13.14 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002266/0.3958, allocations: 13.03 kB / 330.3 MB, free: 13.14 MB / 270.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.0001384/0.3959, allocations: 113.1 kB / 330.4 MB, free: 13.04 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003821/0.3963, allocations: 81.55 kB / 330.5 MB, free: 13 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3963, allocations: 0 / 330.5 MB, free: 13 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001757/0.3965, allocations: 56.33 kB / 330.5 MB, free: 12.98 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.3969, allocations: 6.812 kB / 330.5 MB, free: 12.97 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003916/0.3973, allocations: 186.2 kB / 330.7 MB, free: 12.8 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.3976, allocations: 0.6918 MB / 331.4 MB, free: 12.1 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.578e-05/0.3977, allocations: 3.25 kB / 331.4 MB, free: 12.1 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.597e-05/0.3977, allocations: 9.688 kB / 331.4 MB, free: 12.09 MB / 270.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3977, allocations: 0 / 331.4 MB, free: 12.09 MB / 270.1 MB Notification: Performance of Templates: time 0.004208/0.4019, allocations: 0.7651 MB / 332.2 MB, free: 11.71 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile (rm -f Modelica_3.2.1_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_3.2.1_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_3.2.1_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_3.2.1_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1)