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.001023/0.001023, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001333/0.001333, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 223.3 MB / 240 MB, free: 5.309 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.00407/0.00407, allocations: 0.8631 MB / 291.9 MB, free: 1.25 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003403/0.0003404, allocations: 12 kB / 353.1 MB, free: 2.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3413, allocations: 50.62 MB / 403.7 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFInst.instantiate(BidiDCDC.Examples.TransferFunction): time 0.002262/0.3436, allocations: 1.287 MB / 405 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008477/0.3445, allocations: 472 kB / 405.4 MB, free: 9.82 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.729e-05/0.3445, allocations: 1.188 kB / 405.4 MB, free: 9.82 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002844/0.3448, allocations: 21.66 kB / 405.5 MB, free: 9.812 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.345, allocations: 27.92 kB / 405.5 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001307/0.3451, allocations: 34.91 kB / 405.5 MB, free: 9.789 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002092/0.3453, allocations: 116.1 kB / 405.6 MB, free: 9.746 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.3455, allocations: 20.28 kB / 405.7 MB, free: 9.742 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.3456, allocations: 54.61 kB / 405.7 MB, free: 9.727 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001828/0.3458, allocations: 82.64 kB / 405.8 MB, free: 9.703 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.613e-05/0.3458, allocations: 4.906 kB / 405.8 MB, free: 9.703 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.035e-05/0.3458, allocations: 9.469 kB / 405.8 MB, free: 9.699 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.945e-05/0.3459, allocations: 44.27 kB / 405.9 MB, free: 9.688 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.559e-05/0.346, allocations: 40.08 kB / 405.9 MB, free: 9.648 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.3461, allocations: 103.3 kB / 406 MB, free: 9.629 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.3461, allocations: 1.031 kB / 406 MB, free: 9.629 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3462, allocations: 0 / 406 MB, free: 9.629 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.401e-06/0.3462, allocations: 0 / 406 MB, free: 9.629 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.0009487/0.3471, allocations: 0.5 MB / 406.5 MB, free: 9.219 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.3472, allocations: 9.484 kB / 406.5 MB, free: 9.219 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.172e-05/0.3472, allocations: 19.33 kB / 406.5 MB, free: 9.207 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003966/0.3476, allocations: 260.2 kB / 406.8 MB, free: 8.977 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.3477, allocations: 7.344 kB / 406.8 MB, free: 8.973 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.265e-05/0.3477, allocations: 9.953 kB / 406.8 MB, free: 8.969 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002664/0.348, allocations: 122.7 kB / 406.9 MB, free: 8.914 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.348, allocations: 1.094 kB / 406.9 MB, free: 8.914 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.348, allocations: 4.875 kB / 406.9 MB, free: 8.91 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.348, allocations: 1.219 kB / 406.9 MB, free: 8.91 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003295/0.3484, allocations: 148 kB / 407.1 MB, free: 8.875 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008532/0.3492, allocations: 488.1 kB / 407.5 MB, free: 8.547 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/0.3495, allocations: 133.4 kB / 407.7 MB, free: 8.488 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.3496, allocations: 86.33 kB / 407.8 MB, free: 8.457 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.3497, allocations: 5.938 kB / 407.8 MB, free: 8.453 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.3497, allocations: 35.58 kB / 407.8 MB, free: 8.41 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.363e-06/0.3497, allocations: 0 / 407.8 MB, free: 8.41 MB / 286.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006125/0.3503, allocations: 269.2 kB / 408.1 MB, free: 8.316 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.3504, allocations: 52.62 kB / 408.1 MB, free: 8.254 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000359/0.3507, allocations: 220.8 kB / 408.3 MB, free: 8.125 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.3508, allocations: 34.2 kB / 408.4 MB, free: 8.086 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.219e-05/0.3508, allocations: 114.8 kB / 408.5 MB, free: 7.98 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.918e-05/0.3509, allocations: 41.95 kB / 408.5 MB, free: 7.949 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.695e-06/0.3509, allocations: 0 / 408.5 MB, free: 7.949 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.295e-05/0.351, allocations: 328.9 kB / 408.8 MB, free: 7.629 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.3512, allocations: 83.92 kB / 408.9 MB, free: 7.605 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.3513, allocations: 83 kB / 409 MB, free: 7.586 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.3515, allocations: 88.8 kB / 409.1 MB, free: 7.562 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3515, allocations: 1.219 kB / 409.1 MB, free: 7.562 MB / 286.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004062/0.3519, allocations: 226.3 kB / 409.3 MB, free: 7.473 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.352, allocations: 9.266 kB / 409.3 MB, free: 7.469 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.352, allocations: 0 / 409.3 MB, free: 7.469 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.352, allocations: 1.062 kB / 409.3 MB, free: 7.469 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.3522, allocations: 36.36 kB / 409.4 MB, free: 7.465 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.3522, allocations: 4.594 kB / 409.4 MB, free: 7.461 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.3524, allocations: 38.88 kB / 409.4 MB, free: 7.449 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.3524, allocations: 6.312 kB / 409.4 MB, free: 7.445 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.757e-05/0.3525, allocations: 130 kB / 409.5 MB, free: 7.324 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.867e-05/0.3526, allocations: 9.781 kB / 409.5 MB, free: 7.32 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.141e-05/0.3527, allocations: 28.64 kB / 409.6 MB, free: 7.301 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3527, allocations: 1.953 kB / 409.6 MB, free: 7.301 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.3527, allocations: 1.188 kB / 409.6 MB, free: 7.301 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.3527, allocations: 4.703 kB / 409.6 MB, free: 7.297 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002623/0.353, allocations: 251.7 kB / 409.8 MB, free: 7.078 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.353, allocations: 1.906 kB / 409.8 MB, free: 7.078 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/0.3531, allocations: 32 kB / 409.9 MB, free: 7.074 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.3532, allocations: 5.531 kB / 409.9 MB, free: 7.07 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.3532, allocations: 2.203 kB / 409.9 MB, free: 7.07 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.3532, allocations: 4.656 kB / 409.9 MB, free: 7.066 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3532, allocations: 1.562 kB / 409.9 MB, free: 7.066 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005656/0.3538, allocations: 398.6 kB / 410.3 MB, free: 6.852 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.33e-05/0.3538, allocations: 92.31 kB / 410.3 MB, free: 6.75 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.933e-05/0.3539, allocations: 7.359 kB / 410.4 MB, free: 6.746 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.3541, allocations: 24.84 kB / 410.4 MB, free: 6.746 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.609e-05/0.3541, allocations: 10.78 kB / 410.4 MB, free: 6.742 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.3541, allocations: 4.531 kB / 410.4 MB, free: 6.742 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002668/0.3544, allocations: 177.6 kB / 410.6 MB, free: 6.641 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3544, allocations: 1.188 kB / 410.6 MB, free: 6.641 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002442/0.3547, allocations: 28.59 kB / 410.6 MB, free: 6.633 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.402e-05/0.3548, allocations: 102.2 kB / 410.7 MB, free: 6.539 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003936/0.3552, allocations: 173.5 kB / 410.9 MB, free: 6.496 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3552, allocations: 1.125 kB / 410.9 MB, free: 6.496 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.3554, allocations: 85.34 kB / 410.9 MB, free: 6.477 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.3557, allocations: 17.83 kB / 411 MB, free: 6.469 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007024/0.3564, allocations: 405.3 kB / 411.4 MB, free: 6.223 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001979/0.3566, allocations: 0.7255 MB / 412.1 MB, free: 5.523 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000116/0.3567, allocations: 39.28 kB / 412.1 MB, free: 5.516 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.768e-05/0.3568, allocations: 17.38 kB / 412.1 MB, free: 5.504 MB / 286.1 MB Notification: Performance of SimCode: time 6.12e-07/0.3568, allocations: 0 / 412.1 MB, free: 5.504 MB / 286.1 MB Notification: Performance of Templates: time 0.004537/0.3613, allocations: 1.297 MB / 413.4 MB, free: 5.398 MB / 286.1 MB make -j1 -f BidiDCDC_BidiDCDC.Examples.TransferFunction.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: