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.001192/0.001192, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.00158/0.00158, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.914/1.914, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.0004591/0.0004594, allocations: 8 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3095, allocations: 47.59 MB / 326.4 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.001461/0.311, allocations: 1.194 MB / 327.6 MB, free: 468 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006686/0.3117, allocations: 0.4987 MB / 328.1 MB, free: 68 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.571e-05/0.3117, allocations: 6.188 kB / 328.1 MB, free: 64 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 7.554e-05/0.3118, allocations: 13.23 kB / 328.2 MB, free: 56 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 6.8e-05/0.3119, allocations: 7.922 kB / 328.2 MB, free: 48 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001393/0.3121, allocations: 37.16 kB / 328.2 MB, free: 24 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 6.75e-05/0.3121, allocations: 33.03 kB / 328.2 MB, free: 0 / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.3123, allocations: 15.16 kB / 328.2 MB, free: 15.99 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.654e-05/0.3124, allocations: 22.89 kB / 328.3 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.871e-05/0.3124, allocations: 23 kB / 328.3 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.3125, allocations: 3.75 kB / 328.3 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.034e-05/0.3125, allocations: 11.25 kB / 328.3 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.207e-05/0.3125, allocations: 11.06 kB / 328.3 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.607e-05/0.3126, allocations: 33.69 kB / 328.3 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 9.443e-05/0.3127, allocations: 48.23 kB / 328.4 MB, free: 15.88 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.3127, allocations: 0 / 328.4 MB, free: 15.88 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3127, allocations: 0 / 328.4 MB, free: 15.88 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.3127, allocations: 0 / 328.4 MB, free: 15.88 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.0005536/0.3133, allocations: 382.2 kB / 328.8 MB, free: 15.49 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.3133, allocations: 12.39 kB / 328.8 MB, free: 15.49 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.836e-05/0.3133, allocations: 6.812 kB / 328.8 MB, free: 15.48 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.891e-05/0.3135, allocations: 170.7 kB / 329 MB, free: 15.28 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.154e-05/0.3135, allocations: 5.984 kB / 329 MB, free: 15.28 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.3135, allocations: 7.156 kB / 329 MB, free: 15.27 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002755/0.3138, allocations: 94.55 kB / 329.1 MB, free: 15.21 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.3138, allocations: 0 / 329.1 MB, free: 15.21 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.3138, allocations: 1.031 kB / 329.1 MB, free: 15.21 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.3138, allocations: 1.156 kB / 329.1 MB, free: 15.21 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003367/0.3142, allocations: 106.7 kB / 329.2 MB, free: 15.17 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004/0.3146, allocations: 308.8 kB / 329.5 MB, free: 14.84 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002528/0.3149, allocations: 87.78 kB / 329.5 MB, free: 14.79 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.3149, allocations: 5.312 kB / 329.6 MB, free: 14.79 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.3149, allocations: 31.22 kB / 329.6 MB, free: 14.75 MB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.3149, allocations: 4 kB / 329.6 MB, free: 14.74 MB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005929/0.3155, allocations: 181.4 kB / 329.8 MB, free: 14.65 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.3156, allocations: 52.25 kB / 329.8 MB, free: 14.59 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.807e-05/0.3157, allocations: 113.4 kB / 329.9 MB, free: 14.48 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.3157, allocations: 29.64 kB / 330 MB, free: 14.45 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.965e-05/0.3157, allocations: 98.91 kB / 330.1 MB, free: 14.35 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.3158, allocations: 13.25 kB / 330.1 MB, free: 14.34 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.591e-06/0.3158, allocations: 5.438 kB / 330.1 MB, free: 14.33 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.3159, allocations: 316.1 kB / 330.4 MB, free: 14.02 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.3161, allocations: 52.7 kB / 330.4 MB, free: 13.99 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.3162, allocations: 49.55 kB / 330.5 MB, free: 13.97 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.3164, allocations: 49.34 kB / 330.5 MB, free: 13.95 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3164, allocations: 5.125 kB / 330.5 MB, free: 13.95 MB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003493/0.3168, allocations: 131.3 kB / 330.7 MB, free: 13.88 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.3168, allocations: 5.375 kB / 330.7 MB, free: 13.88 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3168, allocations: 0 / 330.7 MB, free: 13.88 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.3168, allocations: 1.438 kB / 330.7 MB, free: 13.88 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.3169, allocations: 25.25 kB / 330.7 MB, free: 13.87 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.317, allocations: 4.812 kB / 330.7 MB, free: 13.87 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.523e-05/0.3171, allocations: 20.42 kB / 330.7 MB, free: 13.86 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.3171, allocations: 1.281 kB / 330.7 MB, free: 13.86 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.421e-05/0.3172, allocations: 116.7 kB / 330.8 MB, free: 13.74 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.3172, allocations: 9.234 kB / 330.8 MB, free: 13.73 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004184/0.3176, allocations: 151.6 kB / 331 MB, free: 13.64 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3176, allocations: 1.125 kB / 331 MB, free: 13.64 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3176, allocations: 5.031 kB / 331 MB, free: 13.64 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3177, allocations: 0 / 331 MB, free: 13.64 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.3179, allocations: 196.1 kB / 331.2 MB, free: 13.41 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3179, allocations: 0 / 331.2 MB, free: 13.41 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.318, allocations: 28.55 kB / 331.2 MB, free: 13.4 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.318, allocations: 1.594 kB / 331.2 MB, free: 13.4 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.318, allocations: 0 / 331.2 MB, free: 13.4 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.318, allocations: 1.062 kB / 331.2 MB, free: 13.4 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.318, allocations: 4 kB / 331.2 MB, free: 13.4 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004214/0.3185, allocations: 248.6 kB / 331.5 MB, free: 13.21 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.718e-05/0.3185, allocations: 82.14 kB / 331.5 MB, free: 13.11 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.3185, allocations: 1 kB / 331.5 MB, free: 13.11 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.3187, allocations: 19.95 kB / 331.6 MB, free: 13.11 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.349e-05/0.3187, allocations: 7.766 kB / 331.6 MB, free: 13.1 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.3187, allocations: 5.25 kB / 331.6 MB, free: 13.1 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.428e-05/0.3188, allocations: 90.3 kB / 331.7 MB, free: 13.02 MB / 270.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.3188, allocations: 0 / 331.7 MB, free: 13.02 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002209/0.319, allocations: 9.156 kB / 331.7 MB, free: 13.02 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 (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.0001312/0.3191, allocations: 101.5 kB / 331.8 MB, free: 12.92 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003865/0.3195, allocations: 116.1 kB / 331.9 MB, free: 12.88 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3196, allocations: 0 / 331.9 MB, free: 12.88 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000191/0.3198, allocations: 62.34 kB / 331.9 MB, free: 12.85 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/0.32, allocations: 14.31 kB / 332 MB, free: 12.84 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003537/0.3203, allocations: 176.2 kB / 332.1 MB, free: 12.68 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.3206, allocations: 0.6925 MB / 332.8 MB, free: 11.97 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.458e-05/0.3207, allocations: 10.67 kB / 332.8 MB, free: 11.96 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.938e-05/0.3207, allocations: 11.22 kB / 332.8 MB, free: 11.96 MB / 270.1 MB Notification: Performance of SimCode: time 2e-07/0.3207, allocations: 0 / 332.8 MB, free: 11.96 MB / 270.1 MB Notification: Performance of Templates: time 0.003257/0.324, allocations: 0.7274 MB / 333.6 MB, free: 11.59 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: