Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.ControlledMixingUnit.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) 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: translateModel(Modelica_Synchronous.Examples.Systems.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|filter.y|inverseBlockConstraints.y1|mixingUnit.c|sample2.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.ControlledMixingUnit") translateModel(Modelica_Synchronous.Examples.Systems.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|filter.y|inverseBlockConstraints.y1|mixingUnit.c|sample2.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.ControlledMixingUnit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000898/0.0008981, allocations: 182.8 kB / 17.44 MB, free: 4.375 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.209/1.209, allocations: 205.4 MB / 223.6 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000681/0.000681, allocations: 82.42 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.05956/0.05956, allocations: 12.2 MB / 332.4 MB, free: 11.64 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003675/0.0003675, allocations: 16 kB / 392.8 MB, free: 67.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06217/0.06255, allocations: 50.29 MB / 443 MB, free: 16.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Systems.ControlledMixingUnit): time 0.001561/0.06414, allocations: 1.842 MB / 444.9 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006919/0.06485, allocations: 0.6092 MB / 445.5 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.199e-05/0.06495, allocations: 4 kB / 445.5 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.818e-05/0.06504, allocations: 15.8 kB / 445.5 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001946/0.06524, allocations: 59.55 kB / 445.6 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001845/0.06543, allocations: 55.94 kB / 445.6 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.06563, allocations: 254.8 kB / 445.9 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.06575, allocations: 60.94 kB / 445.9 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.88e-05/0.06586, allocations: 99.45 kB / 446 MB, free: 13.67 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.06598, allocations: 127.3 kB / 446.2 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.285e-05/0.06603, allocations: 12 kB / 446.2 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.601e-05/0.06606, allocations: 8 kB / 446.2 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.224e-05/0.06611, allocations: 51.69 kB / 446.2 MB, free: 13.47 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.314e-05/0.06618, allocations: 129 kB / 446.4 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001221/0.06631, allocations: 179.8 kB / 446.5 MB, free: 13.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.06632, allocations: 0 / 446.5 MB, free: 13.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.06633, allocations: 0 / 446.5 MB, free: 13.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.06634, allocations: 4 kB / 446.5 MB, free: 13.16 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0007611/0.0671, allocations: 0.5802 MB / 447.1 MB, free: 12.53 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.06714, allocations: 11.97 kB / 447.1 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.565e-05/0.06719, allocations: 32.56 kB / 447.2 MB, free: 12.49 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000262/0.06746, allocations: 320.3 kB / 447.5 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.06748, allocations: 16.34 kB / 447.5 MB, free: 12.12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.402e-05/0.06752, allocations: 16 kB / 447.5 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005006/0.06803, allocations: 384.6 kB / 447.9 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.06805, allocations: 0 / 447.9 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.06807, allocations: 8 kB / 447.9 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.06808, allocations: 8 kB / 447.9 MB, free: 11.69 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001758/0.06826, allocations: 95.94 kB / 448 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004968/0.06877, allocations: 0.5286 MB / 448.5 MB, free: 11.01 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005644/0.06934, allocations: 319.9 kB / 448.8 MB, free: 10.67 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002028/0.06956, allocations: 134.5 kB / 449 MB, free: 10.53 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.097e-05/0.0696, allocations: 8 kB / 449 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.211e-05/0.06962, allocations: 30.56 kB / 449 MB, free: 10.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.433e-06/0.06963, allocations: 4 kB / 449 MB, free: 10.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.001966/0.0716, allocations: 1.324 MB / 450.3 MB, free: 9.059 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.092e-05/0.07163, allocations: 106.8 kB / 450.4 MB, free: 8.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002714/0.07191, allocations: 332.6 kB / 450.8 MB, free: 8.594 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.872e-05/0.07194, allocations: 37.64 kB / 450.8 MB, free: 8.551 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.566e-05/0.07202, allocations: 149 kB / 450.9 MB, free: 8.402 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.071e-05/0.07206, allocations: 35.78 kB / 451 MB, free: 8.367 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.012e-05/0.07207, allocations: 8 kB / 451 MB, free: 8.359 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.226e-05/0.07213, allocations: 350.8 kB / 451.3 MB, free: 8.008 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.07224, allocations: 47.97 kB / 451.4 MB, free: 7.961 MB / 298.7 MB Error: Internal error BackendDAEOptimize.partitionIndependentBlocks failed without good error message Error: No system for the symbolic initialization was generated