Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002171/0.002171, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.234/2.234, allocations: 205.3 MB / 214.1 MB, free: 14.16 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00109/0.001089, allocations: 98.05 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.31e-05/2.321e-05, allocations: 0 / 314.9 MB, free: 9.07 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3548, allocations: 47.56 MB / 362.4 MB, free: 45.75 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1394/0.4944, allocations: 81.21 MB / 443.6 MB, free: 5.004 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/0.4947, allocations: 71.97 kB / 443.7 MB, free: 4.934 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05954/0.5543, allocations: 14.31 MB / 458 MB, free: 6.473 MB / 347.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.5543, allocations: 3.719 kB / 458 MB, free: 6.473 MB / 347.1 MB Notification: Performance of Transformations before backend: time 8.056e-05/0.5544, allocations: 20 kB / 458 MB, free: 6.453 MB / 347.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.00222/0.5567, allocations: 0.9109 MB / 458.9 MB, free: 5.5 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.5567, allocations: 12.03 kB / 459 MB, free: 5.488 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002986/0.557, allocations: 102.8 kB / 459.1 MB, free: 5.387 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001416/0.5585, allocations: 0.5121 MB / 459.6 MB, free: 4.828 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.244e-05/0.5585, allocations: 27.95 kB / 459.6 MB, free: 4.801 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001703/0.5587, allocations: 55.98 kB / 459.6 MB, free: 4.746 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001199/0.5599, allocations: 351.9 kB / 460 MB, free: 4.402 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/0.5616, allocations: 0.7038 MB / 460.7 MB, free: 3.59 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.354e-05/0.5616, allocations: 7.906 kB / 460.7 MB, free: 3.582 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-05/0.5617, allocations: 7.984 kB / 460.7 MB, free: 3.574 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.345e-05/0.5618, allocations: 24 kB / 460.7 MB, free: 3.551 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006118/0.5679, allocations: 4.28 MB / 465 MB, free: 15.09 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006967/0.5687, allocations: 267.5 kB / 465.3 MB, free: 14.82 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003047/0.569, allocations: 122.1 kB / 465.4 MB, free: 14.7 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002879/0.5693, allocations: 170.6 kB / 465.6 MB, free: 14.49 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.526e-05/0.5693, allocations: 42.83 kB / 465.6 MB, free: 14.44 MB / 363.1 MB Notification: Performance of pre-optimization done (n=46): time 3.787e-06/0.5694, allocations: 4 kB / 465.6 MB, free: 14.44 MB / 363.1 MB Notification: Performance of matching and sorting (n=54): time 0.00381/0.5732, allocations: 1.371 MB / 467 MB, free: 12.97 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.5733, allocations: 55.84 kB / 467 MB, free: 12.91 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008132/0.5741, allocations: 439.3 kB / 467.5 MB, free: 12.47 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 4.628e-05/0.5742, allocations: 25.7 kB / 467.5 MB, free: 12.44 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004922/0.5747, allocations: 0.493 MB / 468 MB, free: 11.94 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002394/0.5749, allocations: 197.1 kB / 468.2 MB, free: 11.74 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.575, allocations: 4 kB / 468.2 MB, free: 11.74 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0002147/0.5752, allocations: 342.8 kB / 468.5 MB, free: 11.39 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003901/0.5756, allocations: 130.6 kB / 468.6 MB, free: 11.27 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007043/0.5763, allocations: 421.7 kB / 469 MB, free: 10.72 MB / 363.1 MB Error: The given system is mixed-determined. [index > 3] Please checkout the option "--maxMixedDeterminedIndex". Error: No system for the symbolic initialization was generated