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.001179/0.001179, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001223/0.001223, allocations: 190.6 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.221/2.221, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.001286/0.001287, allocations: 51.94 kB / 278.2 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3908/0.3921, allocations: 46.63 MB / 324.8 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002677/0.3948, allocations: 1.552 MB / 326.4 MB, free: 0.7109 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007993/0.3956, allocations: 0.5415 MB / 326.9 MB, free: 288 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.628e-05/0.3957, allocations: 1.312 kB / 326.9 MB, free: 288 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001348/0.3959, allocations: 14.58 kB / 326.9 MB, free: 280 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 7.535e-05/0.3959, allocations: 9.25 kB / 327 MB, free: 272 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001611/0.3961, allocations: 40.03 kB / 327 MB, free: 244 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 9.349e-05/0.3962, allocations: 50.53 kB / 327 MB, free: 216 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.3963, allocations: 12 kB / 327.1 MB, free: 212 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.3965, allocations: 33.55 kB / 327.1 MB, free: 188 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.435e-05/0.3965, allocations: 26.98 kB / 327.1 MB, free: 168 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.3966, allocations: 5.969 kB / 327.1 MB, free: 168 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.066e-05/0.3966, allocations: 25.33 kB / 327.1 MB, free: 156 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.3967, allocations: 13.25 kB / 327.2 MB, free: 144 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 3.312e-05/0.3967, allocations: 29.64 kB / 327.2 MB, free: 120 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.3968, allocations: 66.34 kB / 327.2 MB, free: 72 kB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3968, allocations: 0 / 327.2 MB, free: 72 kB / 254.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3968, allocations: 0 / 327.2 MB, free: 72 kB / 254.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.3969, allocations: 0 / 327.2 MB, free: 72 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.0006556/0.3975, allocations: 387.3 kB / 327.6 MB, free: 15.68 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.3976, allocations: 10.41 kB / 327.6 MB, free: 15.68 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.3976, allocations: 5.906 kB / 327.6 MB, free: 15.67 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.3977, allocations: 179.8 kB / 327.8 MB, free: 15.46 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.3978, allocations: 1.656 kB / 327.8 MB, free: 15.46 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.3978, allocations: 7.781 kB / 327.8 MB, free: 15.46 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002736/0.3981, allocations: 85.98 kB / 327.9 MB, free: 15.39 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.3981, allocations: 3.984 kB / 327.9 MB, free: 15.39 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.3981, allocations: 1.125 kB / 327.9 MB, free: 15.39 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.3981, allocations: 1.25 kB / 327.9 MB, free: 15.39 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003016/0.3984, allocations: 83.02 kB / 328 MB, free: 15.35 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004765/0.3989, allocations: 312.7 kB / 328.3 MB, free: 15.02 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.3992, allocations: 78.78 kB / 328.4 MB, free: 14.97 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.3993, allocations: 42.7 kB / 328.4 MB, free: 14.95 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.3994, allocations: 0.9688 kB / 328.4 MB, free: 14.95 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.3994, allocations: 31.66 kB / 328.5 MB, free: 14.91 MB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.3994, allocations: 0 / 328.5 MB, free: 14.91 MB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005531/0.4, allocations: 152 kB / 328.6 MB, free: 14.82 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.4, allocations: 52.41 kB / 328.7 MB, free: 14.75 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.4002, allocations: 116.3 kB / 328.8 MB, free: 14.64 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.4002, allocations: 26.98 kB / 328.8 MB, free: 14.61 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.984e-05/0.4003, allocations: 98.44 kB / 328.9 MB, free: 14.51 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.4003, allocations: 14.5 kB / 328.9 MB, free: 14.5 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.171e-05/0.4003, allocations: 13.38 kB / 328.9 MB, free: 14.48 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.4005, allocations: 324 kB / 329.2 MB, free: 14.16 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.4007, allocations: 32.28 kB / 329.3 MB, free: 14.15 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.4009, allocations: 43.52 kB / 329.3 MB, free: 14.12 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000286/0.4012, allocations: 81.19 kB / 329.4 MB, free: 14.08 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4012, allocations: 1 kB / 329.4 MB, free: 14.08 MB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003417/0.4015, allocations: 113.7 kB / 329.5 MB, free: 14.01 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.4015, allocations: 9.062 kB / 329.5 MB, free: 14.01 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.4016, allocations: 4 kB / 329.5 MB, free: 14 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.4016, allocations: 4 kB / 329.5 MB, free: 14 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.4017, allocations: 20.91 kB / 329.5 MB, free: 13.99 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/0.4018, allocations: 1.188 kB / 329.5 MB, free: 13.99 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.265e-05/0.4018, allocations: 15.23 kB / 329.6 MB, free: 13.98 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.4019, allocations: 5.5 kB / 329.6 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 0.0001199/0.402, allocations: 112.6 kB / 329.7 MB, free: 13.86 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.672e-05/0.402, allocations: 9.188 kB / 329.7 MB, free: 13.86 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004197/0.4025, allocations: 129.2 kB / 329.8 MB, free: 13.77 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.4025, allocations: 1.125 kB / 329.8 MB, free: 13.77 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.4025, allocations: 3.938 kB / 329.8 MB, free: 13.77 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.4025, allocations: 0 / 329.8 MB, free: 13.77 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002573/0.4028, allocations: 200.1 kB / 330 MB, free: 13.54 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4028, allocations: 5 kB / 330 MB, free: 13.53 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.4029, allocations: 19.48 kB / 330 MB, free: 13.53 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.4029, allocations: 0 / 330 MB, free: 13.53 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.4029, allocations: 1.188 kB / 330 MB, free: 13.53 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.4029, allocations: 0 / 330 MB, free: 13.53 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.4029, allocations: 1.156 kB / 330 MB, free: 13.53 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000464/0.4034, allocations: 224.8 kB / 330.2 MB, free: 13.34 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.884e-05/0.4035, allocations: 79.61 kB / 330.3 MB, free: 13.25 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.4035, allocations: 0 / 330.3 MB, free: 13.25 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.4036, allocations: 10.86 kB / 330.3 MB, free: 13.25 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.421e-05/0.4037, allocations: 10.89 kB / 330.3 MB, free: 13.24 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.4037, allocations: 6.156 kB / 330.4 MB, free: 13.23 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.12e-05/0.4038, allocations: 85.7 kB / 330.4 MB, free: 13.16 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4038, allocations: 5.062 kB / 330.4 MB, free: 13.15 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002242/0.404, allocations: 16.78 kB / 330.5 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.0001469/0.4042, allocations: 94.94 kB / 330.6 MB, free: 13.06 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000387/0.4046, allocations: 92.33 kB / 330.6 MB, free: 13.02 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.4046, allocations: 5.25 kB / 330.6 MB, free: 13.01 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.4047, allocations: 55.11 kB / 330.7 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.0003223/0.4051, allocations: 7.266 kB / 330.7 MB, free: 12.98 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003965/0.4055, allocations: 189.7 kB / 330.9 MB, free: 12.81 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.4058, allocations: 0.6842 MB / 331.6 MB, free: 12.11 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.729e-05/0.4058, allocations: 7.203 kB / 331.6 MB, free: 12.11 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.683e-05/0.4059, allocations: 14.69 kB / 331.6 MB, free: 12.1 MB / 270.1 MB Notification: Performance of SimCode: time 4.8e-07/0.4059, allocations: 0 / 331.6 MB, free: 12.1 MB / 270.1 MB Notification: Performance of Templates: time 0.004442/0.4103, allocations: 0.804 MB / 332.4 MB, free: 11.69 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)