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.0009475/0.0009475, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008236/0.008236, allocations: 171.4 kB / 16.27 MB, free: 6.32 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.4 MB / 222.4 MB, free: 5.762 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.000508/0.000508, allocations: 8 kB / 279.4 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3425, allocations: 47.59 MB / 327 MB, free: 1.371 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.001525/0.344, allocations: 1.217 MB / 328.2 MB, free: 412 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008142/0.3449, allocations: 0.5318 MB / 328.8 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.308e-05/0.3449, allocations: 3.531 kB / 328.8 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.865e-05/0.345, allocations: 7.438 kB / 328.8 MB, free: 15.97 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.538e-05/0.3451, allocations: 15.31 kB / 328.8 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.3453, allocations: 30.81 kB / 328.8 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 8.307e-05/0.3454, allocations: 50.2 kB / 328.9 MB, free: 15.92 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.3455, allocations: 14.14 kB / 328.9 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.3456, allocations: 30 kB / 328.9 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.394e-05/0.3457, allocations: 29.56 kB / 328.9 MB, free: 15.87 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.3458, allocations: 3.156 kB / 328.9 MB, free: 15.87 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.738e-05/0.3458, allocations: 12.5 kB / 329 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.966e-05/0.3458, allocations: 10.06 kB / 329 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.418e-05/0.3459, allocations: 49.94 kB / 329 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001628/0.3461, allocations: 60.61 kB / 329.1 MB, free: 15.76 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3461, allocations: 0 / 329.1 MB, free: 15.76 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.3461, allocations: 3.938 kB / 329.1 MB, free: 15.76 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.3461, allocations: 0 / 329.1 MB, free: 15.76 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.0006425/0.3468, allocations: 381.8 kB / 329.5 MB, free: 15.38 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.3468, allocations: 10.03 kB / 329.5 MB, free: 15.38 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.301e-05/0.3469, allocations: 7.594 kB / 329.5 MB, free: 15.37 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.347, allocations: 179.4 kB / 329.6 MB, free: 15.16 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.347, allocations: 6.562 kB / 329.7 MB, free: 15.16 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.3471, allocations: 7.469 kB / 329.7 MB, free: 15.15 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002924/0.3474, allocations: 95.7 kB / 329.8 MB, free: 15.09 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.3474, allocations: 0 / 329.8 MB, free: 15.09 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.3474, allocations: 1.438 kB / 329.8 MB, free: 15.09 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.3474, allocations: 0.8125 kB / 329.8 MB, free: 15.09 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003555/0.3478, allocations: 106.9 kB / 329.9 MB, free: 15.05 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000425/0.3482, allocations: 311.8 kB / 330.2 MB, free: 14.72 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002697/0.3485, allocations: 84.91 kB / 330.2 MB, free: 14.67 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/0.3487, allocations: 60.28 kB / 330.3 MB, free: 14.64 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.3487, allocations: 1.312 kB / 330.3 MB, free: 14.64 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.3487, allocations: 35.75 kB / 330.3 MB, free: 14.59 MB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 8.756e-06/0.3488, allocations: 3.984 kB / 330.3 MB, free: 14.59 MB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.000629/0.3494, allocations: 177.5 kB / 330.5 MB, free: 14.5 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.3494, allocations: 56.47 kB / 330.6 MB, free: 14.44 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.481e-05/0.3495, allocations: 108.8 kB / 330.7 MB, free: 14.33 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.3496, allocations: 30.08 kB / 330.7 MB, free: 14.3 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.704e-05/0.3496, allocations: 95.17 kB / 330.8 MB, free: 14.2 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.3497, allocations: 18.27 kB / 330.8 MB, free: 14.19 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-05/0.3497, allocations: 14.94 kB / 330.8 MB, free: 14.17 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.3498, allocations: 323.9 kB / 331.2 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.35, allocations: 49.45 kB / 331.2 MB, free: 13.82 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/0.3502, allocations: 50.28 kB / 331.3 MB, free: 13.8 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003253/0.3505, allocations: 100.2 kB / 331.3 MB, free: 13.76 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.3505, allocations: 1.156 kB / 331.3 MB, free: 13.76 MB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003715/0.3509, allocations: 139.3 kB / 331.5 MB, free: 13.68 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.3509, allocations: 5.219 kB / 331.5 MB, free: 13.68 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3509, allocations: 5.094 kB / 331.5 MB, free: 13.68 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.351, allocations: 0 / 331.5 MB, free: 13.68 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.3511, allocations: 25.89 kB / 331.5 MB, free: 13.67 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.3511, allocations: 1.031 kB / 331.5 MB, free: 13.67 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.747e-05/0.3512, allocations: 15.14 kB / 331.5 MB, free: 13.67 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.3512, allocations: 5.25 kB / 331.5 MB, free: 13.66 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 0.000105/0.3513, allocations: 120.5 kB / 331.7 MB, free: 13.54 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.3514, allocations: 6.531 kB / 331.7 MB, free: 13.54 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004842/0.3519, allocations: 148.5 kB / 331.8 MB, free: 13.45 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.3519, allocations: 1.188 kB / 331.8 MB, free: 13.45 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.3519, allocations: 0 / 331.8 MB, free: 13.45 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.3519, allocations: 5.047 kB / 331.8 MB, free: 13.45 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.3522, allocations: 195.6 kB / 332 MB, free: 13.22 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3522, allocations: 0 / 332 MB, free: 13.22 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.3523, allocations: 35.83 kB / 332 MB, free: 13.2 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3523, allocations: 1.031 kB / 332 MB, free: 13.2 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.3523, allocations: 5.109 kB / 332 MB, free: 13.2 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3524, allocations: 0 / 332 MB, free: 13.2 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3524, allocations: 1.219 kB / 332.1 MB, free: 13.2 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005162/0.3529, allocations: 231.9 kB / 332.3 MB, free: 13.03 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.76e-05/0.353, allocations: 83.17 kB / 332.4 MB, free: 12.93 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.353, allocations: 13.02 kB / 332.4 MB, free: 12.92 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.3531, allocations: 16.39 kB / 332.4 MB, free: 12.91 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.705e-05/0.3532, allocations: 7.453 kB / 332.4 MB, free: 12.91 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.3532, allocations: 5.312 kB / 332.4 MB, free: 12.91 MB / 270.1 MB Notification: Performance of sorting global known variables: time 6.262e-05/0.3533, allocations: 89.69 kB / 332.5 MB, free: 12.82 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3533, allocations: 288 / 332.5 MB, free: 12.82 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002433/0.3535, allocations: 17.66 kB / 332.5 MB, free: 12.82 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.0001799/0.3537, allocations: 102 kB / 332.6 MB, free: 12.72 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000452/0.3542, allocations: 111.2 kB / 332.7 MB, free: 12.68 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.3542, allocations: 1.031 kB / 332.7 MB, free: 12.68 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000214/0.3544, allocations: 66.05 kB / 332.8 MB, free: 12.65 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.3548, allocations: 6.219 kB / 332.8 MB, free: 12.65 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005124/0.3553, allocations: 188.8 kB / 333 MB, free: 12.48 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004198/0.3557, allocations: 0.6962 MB / 333.7 MB, free: 11.77 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.716e-05/0.3558, allocations: 2.938 kB / 333.7 MB, free: 11.77 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.413e-05/0.3558, allocations: 13.89 kB / 333.7 MB, free: 11.76 MB / 270.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3558, allocations: 0 / 333.7 MB, free: 11.76 MB / 270.1 MB Notification: Performance of Templates: time 0.003403/0.3592, allocations: 0.7456 MB / 334.4 MB, free: 11.38 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)