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.001478/0.001478, allocations: 110.8 kB / 16.41 MB, free: 6.48 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.001721/0.001721, allocations: 185.5 kB / 17.34 MB, free: 5.754 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 / 241 MB, free: 15.16 MB / 206.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.003968/0.003968, allocations: 0.8678 MB / 292.1 MB, free: 13.89 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 67.89 kB / 403.5 MB, free: 31.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08001/0.0812, allocations: 49.65 MB / 453.2 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFInst.instantiate(BidiDCDC.Examples.TransferFunction): time 0.002449/0.0837, allocations: 1.606 MB / 454.8 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007601/0.08447, allocations: 494.8 kB / 455.3 MB, free: 12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.436e-05/0.08455, allocations: 4 kB / 455.3 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002569/0.08482, allocations: 23.8 kB / 455.3 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001351/0.08497, allocations: 27.84 kB / 455.3 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001376/0.08512, allocations: 43.94 kB / 455.4 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.08531, allocations: 135.6 kB / 455.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.804e-05/0.08542, allocations: 23.98 kB / 455.5 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.729e-05/0.08551, allocations: 59.81 kB / 455.6 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.08567, allocations: 83.72 kB / 455.7 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.938e-05/0.08571, allocations: 8 kB / 455.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.108e-05/0.08574, allocations: 12 kB / 455.7 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.822e-05/0.08582, allocations: 51.83 kB / 455.7 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.707e-05/0.0859, allocations: 63.64 kB / 455.8 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.08608, allocations: 151.4 kB / 455.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.0861, allocations: 0 / 455.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.08611, allocations: 0 / 455.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.08612, allocations: 8 kB / 455.9 MB, free: 11.31 MB / 334.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.0009767/0.0871, allocations: 0.5026 MB / 456.4 MB, free: 10.76 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.08715, allocations: 8.031 kB / 456.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.891e-05/0.08721, allocations: 16.75 kB / 456.5 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004545/0.08767, allocations: 267.7 kB / 456.7 MB, free: 10.44 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-06/0.08769, allocations: 384 / 456.7 MB, free: 10.44 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.314e-05/0.08773, allocations: 12.38 kB / 456.7 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002411/0.08798, allocations: 121.9 kB / 456.9 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.08801, allocations: 4 kB / 456.9 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.08803, allocations: 3.984 kB / 456.9 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.08804, allocations: 4 kB / 456.9 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002771/0.08832, allocations: 123.8 kB / 457 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008361/0.08917, allocations: 488.5 kB / 457.5 MB, free: 9.641 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000231/0.08941, allocations: 118.5 kB / 457.6 MB, free: 9.516 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.08956, allocations: 80.8 kB / 457.7 MB, free: 9.434 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.08959, allocations: 4 kB / 457.7 MB, free: 9.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.08962, allocations: 34.56 kB / 457.7 MB, free: 9.387 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.08963, allocations: 3.938 kB / 457.7 MB, free: 9.383 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005691/0.0902, allocations: 253.5 kB / 458 MB, free: 9.129 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.09024, allocations: 51.41 kB / 458 MB, free: 9.066 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003896/0.09064, allocations: 223.3 kB / 458.2 MB, free: 8.84 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.09067, allocations: 33.69 kB / 458.3 MB, free: 8.801 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.1e-05/0.09073, allocations: 116.2 kB / 458.4 MB, free: 8.684 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.113e-05/0.09078, allocations: 35.38 kB / 458.4 MB, free: 8.648 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.546e-05/0.09085, allocations: 33.7 kB / 458.4 MB, free: 8.609 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.872e-05/0.09096, allocations: 330.8 kB / 458.8 MB, free: 8.277 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/0.09114, allocations: 75.94 kB / 458.8 MB, free: 8.203 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.09129, allocations: 75.94 kB / 458.9 MB, free: 8.129 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002899/0.09159, allocations: 160.5 kB / 459.1 MB, free: 7.973 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.0916, allocations: 0 / 459.1 MB, free: 7.973 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003834/0.09199, allocations: 217.3 kB / 459.3 MB, free: 7.754 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.09201, allocations: 4 kB / 459.3 MB, free: 7.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.09202, allocations: 4 kB / 459.3 MB, free: 7.746 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.09204, allocations: 0 / 459.3 MB, free: 7.746 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.09223, allocations: 31.97 kB / 459.3 MB, free: 7.715 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.09225, allocations: 0 / 459.3 MB, free: 7.715 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.09244, allocations: 27.91 kB / 459.3 MB, free: 7.688 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.09246, allocations: 4 kB / 459.3 MB, free: 7.684 MB / 334.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 9.623e-05/0.09256, allocations: 138.4 kB / 459.5 MB, free: 7.539 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.74e-05/0.0926, allocations: 19.81 kB / 459.5 MB, free: 7.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.648e-05/0.09267, allocations: 25.39 kB / 459.5 MB, free: 7.488 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.09268, allocations: 0 / 459.5 MB, free: 7.488 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.09269, allocations: 0 / 459.5 MB, free: 7.488 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.09269, allocations: 0 / 459.5 MB, free: 7.488 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002614/0.09296, allocations: 261.4 kB / 459.8 MB, free: 7.184 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.09297, allocations: 0 / 459.8 MB, free: 7.184 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.09316, allocations: 27.97 kB / 459.8 MB, free: 7.156 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.09317, allocations: 4 kB / 459.8 MB, free: 7.152 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.09319, allocations: 4 kB / 459.8 MB, free: 7.148 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.0932, allocations: 4 kB / 459.8 MB, free: 7.145 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.09321, allocations: 0 / 459.8 MB, free: 7.145 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005489/0.09376, allocations: 375 kB / 460.2 MB, free: 6.762 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.503e-05/0.09383, allocations: 92.95 kB / 460.3 MB, free: 6.652 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.09387, allocations: 8 kB / 460.3 MB, free: 6.645 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.09409, allocations: 23.97 kB / 460.3 MB, free: 6.621 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.579e-05/0.09415, allocations: 11.98 kB / 460.3 MB, free: 6.609 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.09416, allocations: 4 kB / 460.3 MB, free: 6.605 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003089/0.09448, allocations: 179.2 kB / 460.5 MB, free: 6.43 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.09449, allocations: 0 / 460.5 MB, free: 6.43 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002429/0.09474, allocations: 27.94 kB / 460.5 MB, free: 6.402 MB / 334.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 8.23e-05/0.09483, allocations: 103.7 kB / 460.6 MB, free: 6.293 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003521/0.09519, allocations: 167.8 kB / 460.8 MB, free: 6.129 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.0952, allocations: 0 / 460.8 MB, free: 6.129 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001644/0.09537, allocations: 79.89 kB / 460.9 MB, free: 6.051 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.09567, allocations: 19.98 kB / 460.9 MB, free: 6.031 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006552/0.09634, allocations: 406.3 kB / 461.3 MB, free: 5.602 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.09661, allocations: 0.7236 MB / 462 MB, free: 4.852 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.258e-05/0.09668, allocations: 19.44 kB / 462 MB, free: 4.832 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.09669, allocations: 0 / 462 MB, free: 4.832 MB / 334.1 MB Notification: Performance of Templates: time 0.003218/0.09991, allocations: 1.975 MB / 464 MB, free: 2.859 MB / 334.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)