Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BidiDCDC_BidiDCDC.Examples.TransferFunction.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BidiDCDC 1.0.0-main/package.mo", uses=false) Using package BidiDCDC with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BidiDCDC 1.0.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BidiDCDC.Examples.TransferFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="BidiDCDC_BidiDCDC.Examples.TransferFunction") translateModel(BidiDCDC.Examples.TransferFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="BidiDCDC_BidiDCDC.Examples.TransferFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, 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.001186/0.001186, allocations: 194 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.275/1.275, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BidiDCDC 1.0.0-main/package.mo:2:1-29:13:writable] Warning: Types was referenced in the package.order file, but was not found in package.mo, Types/package.mo or Types.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BidiDCDC 1.0.0-main/package.mo): time 0.003324/0.003324, allocations: 0.8786 MB / 290.9 MB, free: 1.512 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0009638/0.0009638, allocations: 55.91 kB / 351.4 MB, free: 2.297 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06966/0.07064, allocations: 49.66 MB / 401.1 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of NFInst.instantiate(BidiDCDC.Examples.TransferFunction): time 0.12/0.1907, allocations: 1.652 MB / 402.7 MB, free: 9.891 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007256/0.1915, allocations: 488.7 kB / 403.2 MB, free: 9.566 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.922e-05/0.1915, allocations: 1.156 kB / 403.2 MB, free: 9.566 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002442/0.1918, allocations: 27.36 kB / 403.3 MB, free: 9.555 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.192, allocations: 28.67 kB / 403.3 MB, free: 9.543 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001315/0.1921, allocations: 39.27 kB / 403.3 MB, free: 9.523 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.1923, allocations: 133.1 kB / 403.5 MB, free: 9.473 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.311e-05/0.1924, allocations: 25.92 kB / 403.5 MB, free: 9.465 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.973e-05/0.1925, allocations: 57.84 kB / 403.5 MB, free: 9.441 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.1926, allocations: 86.78 kB / 403.6 MB, free: 9.41 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.504e-05/0.1927, allocations: 11.62 kB / 403.6 MB, free: 9.41 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.52e-05/0.1927, allocations: 10.69 kB / 403.6 MB, free: 9.41 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.004e-05/0.1928, allocations: 51.39 kB / 403.7 MB, free: 9.391 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.312e-05/0.1929, allocations: 58.31 kB / 403.7 MB, free: 9.352 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.193, allocations: 142.1 kB / 403.9 MB, free: 9.297 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1931, allocations: 1.344 kB / 403.9 MB, free: 9.297 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1931, allocations: 0 / 403.9 MB, free: 9.297 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.1931, allocations: 0.5312 kB / 403.9 MB, free: 9.297 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009681/0.1941, allocations: 0.5149 MB / 404.4 MB, free: 8.875 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.1941, allocations: 9.266 kB / 404.4 MB, free: 8.875 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.289e-05/0.1942, allocations: 20.97 kB / 404.4 MB, free: 8.863 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003798/0.1945, allocations: 258 kB / 404.7 MB, free: 8.633 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.1946, allocations: 11.5 kB / 404.7 MB, free: 8.625 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.1946, allocations: 9.75 kB / 404.7 MB, free: 8.621 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002335/0.1948, allocations: 126.1 kB / 404.8 MB, free: 8.559 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1948, allocations: 1.875 kB / 404.8 MB, free: 8.559 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.1949, allocations: 5.156 kB / 404.8 MB, free: 8.555 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.1949, allocations: 1.156 kB / 404.8 MB, free: 8.555 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002651/0.1951, allocations: 124.2 kB / 405 MB, free: 8.531 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007/0.1959, allocations: 486.8 kB / 405.4 MB, free: 8.191 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.1961, allocations: 122.9 kB / 405.6 MB, free: 8.137 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.1962, allocations: 81.14 kB / 405.6 MB, free: 8.105 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.1962, allocations: 1.125 kB / 405.6 MB, free: 8.105 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.077e-05/0.1963, allocations: 31.75 kB / 405.7 MB, free: 8.066 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/0.1963, allocations: 5.031 kB / 405.7 MB, free: 8.066 MB / 286.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005017/0.1968, allocations: 256.2 kB / 405.9 MB, free: 7.969 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.765e-05/0.1968, allocations: 56.56 kB / 406 MB, free: 7.902 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003263/0.1971, allocations: 222.2 kB / 406.2 MB, free: 7.773 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.1971, allocations: 26.64 kB / 406.2 MB, free: 7.742 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.259e-05/0.1972, allocations: 109.7 kB / 406.3 MB, free: 7.641 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.1972, allocations: 39.97 kB / 406.4 MB, free: 7.609 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.797e-05/0.1973, allocations: 30.27 kB / 406.4 MB, free: 7.586 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.593e-05/0.1973, allocations: 336.3 kB / 406.7 MB, free: 7.258 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.1975, allocations: 75.08 kB / 406.8 MB, free: 7.238 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.1976, allocations: 71.91 kB / 406.9 MB, free: 7.223 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002629/0.1979, allocations: 161.9 kB / 407 MB, free: 7.172 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1979, allocations: 1.75 kB / 407 MB, free: 7.172 MB / 286.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003165/0.1982, allocations: 222.5 kB / 407.2 MB, free: 7.078 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.1982, allocations: 2.344 kB / 407.2 MB, free: 7.078 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1983, allocations: 0.6562 kB / 407.2 MB, free: 7.078 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.1983, allocations: 5.594 kB / 407.2 MB, free: 7.074 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.1984, allocations: 29 kB / 407.3 MB, free: 7.074 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.1985, allocations: 0.7969 kB / 407.3 MB, free: 7.074 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.1986, allocations: 31.69 kB / 407.3 MB, free: 7.066 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.1987, allocations: 6.719 kB / 407.3 MB, free: 7.062 MB / 286.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 (14): * Single equations (assignments): 14 * 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 7.134e-05/0.1987, allocations: 132.2 kB / 407.4 MB, free: 6.938 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.506e-05/0.1988, allocations: 18.73 kB / 407.5 MB, free: 6.926 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.398e-05/0.1988, allocations: 24.58 kB / 407.5 MB, free: 6.91 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.1988, allocations: 1.969 kB / 407.5 MB, free: 6.91 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1988, allocations: 1.062 kB / 407.5 MB, free: 6.91 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1988, allocations: 0.7031 kB / 407.5 MB, free: 6.91 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002134/0.1991, allocations: 259.9 kB / 407.7 MB, free: 6.68 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1991, allocations: 4.75 kB / 407.7 MB, free: 6.68 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.1992, allocations: 29.3 kB / 407.8 MB, free: 6.676 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1993, allocations: 5.641 kB / 407.8 MB, free: 6.672 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.1993, allocations: 2.156 kB / 407.8 MB, free: 6.672 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1993, allocations: 1.844 kB / 407.8 MB, free: 6.672 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1993, allocations: 0 / 407.8 MB, free: 6.672 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004695/0.1998, allocations: 379.1 kB / 408.2 MB, free: 6.457 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.239e-05/0.1998, allocations: 89.44 kB / 408.2 MB, free: 6.359 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.1998, allocations: 6.047 kB / 408.3 MB, free: 6.355 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.2, allocations: 21.84 kB / 408.3 MB, free: 6.355 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.2001, allocations: 10.22 kB / 408.3 MB, free: 6.352 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.2001, allocations: 3.797 kB / 408.3 MB, free: 6.352 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002652/0.2004, allocations: 177.8 kB / 408.5 MB, free: 6.25 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2004, allocations: 1.312 kB / 408.5 MB, free: 6.25 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000234/0.2006, allocations: 32.09 kB / 408.5 MB, free: 6.238 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (transferFunction.x_scaled[1],transferFunction.x_scaled[2],transferFunction.x_scaled[3]) * 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 (11): * Single equations (assignments): 11 * 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 6.489e-05/0.2007, allocations: 104.8 kB / 408.6 MB, free: 6.145 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003271/0.201, allocations: 167.8 kB / 408.8 MB, free: 6.105 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.201, allocations: 0 / 408.8 MB, free: 6.105 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.2012, allocations: 91.08 kB / 408.8 MB, free: 6.074 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.2015, allocations: 23.73 kB / 408.9 MB, free: 6.066 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006154/0.2021, allocations: 402.7 kB / 409.3 MB, free: 5.809 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001581/0.2023, allocations: 0.726 MB / 410 MB, free: 5.109 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001034/0.2024, allocations: 35.69 kB / 410 MB, free: 5.109 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.688e-05/0.2024, allocations: 16.94 kB / 410 MB, free: 5.098 MB / 286.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2024, allocations: 1.062 kB / 410 MB, free: 5.098 MB / 286.1 MB Notification: Performance of Templates: time 0.003682/0.2061, allocations: 1.422 MB / 411.5 MB, free: 4.996 MB / 286.1 MB make -j1 -f BidiDCDC_BidiDCDC.Examples.TransferFunction.makefile (rm -f BidiDCDC_BidiDCDC.Examples.TransferFunction.pipe ; mkfifo BidiDCDC_BidiDCDC.Examples.TransferFunction.pipe ; head -c 1048576 < BidiDCDC_BidiDCDC.Examples.TransferFunction.pipe >> ../files/BidiDCDC_BidiDCDC.Examples.TransferFunction.sim & ./BidiDCDC_BidiDCDC.Examples.TransferFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BidiDCDC_BidiDCDC.Examples.TransferFunction.pipe 2>&1)