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.001194/0.001194, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001203/0.001203, allocations: 177.3 kB / 15.95 MB, free: 216 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.25/1.25, allocations: 223.2 MB / 239.9 MB, free: 5.422 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.003424/0.003424, allocations: 0.8633 MB / 291.9 MB, free: 1.383 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.000307/0.0003071, allocations: 8 kB / 353 MB, free: 2.512 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2449, allocations: 50.63 MB / 403.6 MB, free: 9.77 MB / 286.1 MB Notification: Performance of NFInst.instantiate(BidiDCDC.Examples.TransferFunction): time 0.001854/0.2468, allocations: 1.292 MB / 404.9 MB, free: 9.715 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000751/0.2476, allocations: 462.2 kB / 405.3 MB, free: 9.535 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.235e-05/0.2476, allocations: 5.344 kB / 405.3 MB, free: 9.531 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002417/0.2479, allocations: 21.84 kB / 405.4 MB, free: 9.523 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.248, allocations: 30.12 kB / 405.4 MB, free: 9.512 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001232/0.2481, allocations: 36.22 kB / 405.4 MB, free: 9.5 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.2483, allocations: 73.61 kB / 405.5 MB, free: 9.477 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.2484, allocations: 22.22 kB / 405.5 MB, free: 9.469 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.2485, allocations: 61.98 kB / 405.6 MB, free: 9.449 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.2487, allocations: 73.06 kB / 405.7 MB, free: 9.43 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.2487, allocations: 4.656 kB / 405.7 MB, free: 9.43 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.12e-05/0.2487, allocations: 5 kB / 405.7 MB, free: 9.43 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.674e-05/0.2488, allocations: 49.61 kB / 405.7 MB, free: 9.414 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.353e-05/0.2488, allocations: 40.77 kB / 405.8 MB, free: 9.375 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.249, allocations: 102.9 kB / 405.9 MB, free: 9.359 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.249, allocations: 0 / 405.9 MB, free: 9.359 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.249, allocations: 0 / 405.9 MB, free: 9.359 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.249, allocations: 4 kB / 405.9 MB, free: 9.355 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.0009073/0.2499, allocations: 0.5002 MB / 406.4 MB, free: 8.945 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.25, allocations: 8.75 kB / 406.4 MB, free: 8.945 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.426e-05/0.25, allocations: 23.47 kB / 406.4 MB, free: 8.93 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004084/0.2504, allocations: 257.3 kB / 406.6 MB, free: 8.703 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.2504, allocations: 3.469 kB / 406.6 MB, free: 8.703 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.2505, allocations: 10.25 kB / 406.7 MB, free: 8.699 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/0.2507, allocations: 127.5 kB / 406.8 MB, free: 8.641 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.2508, allocations: 0 / 406.8 MB, free: 8.641 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.2508, allocations: 0.8438 kB / 406.8 MB, free: 8.641 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.2508, allocations: 2 kB / 406.8 MB, free: 8.641 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002965/0.2511, allocations: 155.6 kB / 406.9 MB, free: 8.602 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007865/0.2519, allocations: 487.8 kB / 407.4 MB, free: 8.273 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/0.2521, allocations: 131.4 kB / 407.5 MB, free: 8.215 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.2521, allocations: 6 kB / 407.5 MB, free: 8.211 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/0.2522, allocations: 36.31 kB / 407.6 MB, free: 8.168 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.2522, allocations: 0 / 407.6 MB, free: 8.168 MB / 286.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005667/0.2527, allocations: 267.7 kB / 407.8 MB, free: 8.074 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.2528, allocations: 53.41 kB / 407.9 MB, free: 8.012 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003425/0.2531, allocations: 220.3 kB / 408.1 MB, free: 7.883 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.2531, allocations: 30.2 kB / 408.1 MB, free: 7.848 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.621e-05/0.2532, allocations: 115.4 kB / 408.3 MB, free: 7.742 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.921e-05/0.2533, allocations: 45.42 kB / 408.3 MB, free: 7.707 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-06/0.2533, allocations: 0 / 408.3 MB, free: 7.707 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.598e-05/0.2533, allocations: 328.8 kB / 408.6 MB, free: 7.387 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.2535, allocations: 79.62 kB / 408.7 MB, free: 7.367 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.2537, allocations: 88.48 kB / 408.8 MB, free: 7.34 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/0.2539, allocations: 86.98 kB / 408.9 MB, free: 7.316 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2539, allocations: 0 / 408.9 MB, free: 7.316 MB / 286.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003828/0.2542, allocations: 228.2 kB / 409.1 MB, free: 7.227 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.2543, allocations: 3.844 kB / 409.1 MB, free: 7.227 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.2543, allocations: 4.609 kB / 409.1 MB, free: 7.223 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.2543, allocations: 3.781 kB / 409.1 MB, free: 7.223 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.2545, allocations: 36.44 kB / 409.1 MB, free: 7.219 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.2545, allocations: 0.6094 kB / 409.1 MB, free: 7.219 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.2547, allocations: 34.34 kB / 409.2 MB, free: 7.207 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.2547, allocations: 7.453 kB / 409.2 MB, free: 7.203 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 8.317e-05/0.2548, allocations: 128.7 kB / 409.3 MB, free: 7.082 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.521e-05/0.2548, allocations: 10.61 kB / 409.3 MB, free: 7.078 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.938e-05/0.2549, allocations: 24.55 kB / 409.3 MB, free: 7.062 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.2549, allocations: 6.078 kB / 409.3 MB, free: 7.059 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.2549, allocations: 0.5156 kB / 409.3 MB, free: 7.059 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2549, allocations: 4.75 kB / 409.4 MB, free: 7.055 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002511/0.2552, allocations: 251.4 kB / 409.6 MB, free: 6.836 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.2552, allocations: 2.625 kB / 409.6 MB, free: 6.836 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001844/0.2554, allocations: 32.39 kB / 409.6 MB, free: 6.832 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.2554, allocations: 1.281 kB / 409.6 MB, free: 6.832 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.2554, allocations: 5.844 kB / 409.6 MB, free: 6.828 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.2554, allocations: 1.344 kB / 409.6 MB, free: 6.828 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.2554, allocations: 4.703 kB / 409.6 MB, free: 6.824 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005542/0.256, allocations: 392.6 kB / 410 MB, free: 6.613 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.389e-05/0.256, allocations: 96.88 kB / 410.1 MB, free: 6.508 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.2561, allocations: 7.047 kB / 410.1 MB, free: 6.504 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/0.2563, allocations: 23.66 kB / 410.2 MB, free: 6.504 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.391e-05/0.2563, allocations: 13.08 kB / 410.2 MB, free: 6.5 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.2563, allocations: 1.125 kB / 410.2 MB, free: 6.5 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002819/0.2566, allocations: 179.6 kB / 410.3 MB, free: 6.398 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2566, allocations: 0 / 410.3 MB, free: 6.398 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002352/0.2569, allocations: 25.91 kB / 410.4 MB, free: 6.395 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 7.64e-05/0.257, allocations: 103.5 kB / 410.5 MB, free: 6.301 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003681/0.2573, allocations: 173.6 kB / 410.6 MB, free: 6.258 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2573, allocations: 0 / 410.6 MB, free: 6.258 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.2575, allocations: 88.62 kB / 410.7 MB, free: 6.234 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.2578, allocations: 21.33 kB / 410.7 MB, free: 6.227 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007027/0.2585, allocations: 395.9 kB / 411.1 MB, free: 5.984 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00017/0.2587, allocations: 0.7351 MB / 411.9 MB, free: 5.281 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001027/0.2588, allocations: 37.64 kB / 411.9 MB, free: 5.277 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.838e-05/0.2588, allocations: 14.19 kB / 411.9 MB, free: 5.27 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2588, allocations: 0 / 411.9 MB, free: 5.27 MB / 286.1 MB Notification: Performance of Templates: time 0.003967/0.2628, allocations: 1.291 MB / 413.2 MB, free: 5.16 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: