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.001324/0.001324, allocations: 106.7 kB / 15.98 MB, free: 6.355 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.001579/0.001579, allocations: 192.6 kB / 16.91 MB, free: 6.188 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.298/1.298, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.003692/0.003693, allocations: 0.873 MB / 291.6 MB, free: 14.13 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 55.91 kB / 352.1 MB, free: 1.609 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2346, allocations: 49.65 MB / 401.7 MB, free: 35.82 MB / 302.1 MB Notification: Performance of NFInst.instantiate(BidiDCDC.Examples.TransferFunction): time 0.002207/0.2368, allocations: 1.667 MB / 403.4 MB, free: 34.15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006333/0.2375, allocations: 478.9 kB / 403.9 MB, free: 33.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.541e-05/0.2376, allocations: 0 / 403.9 MB, free: 33.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002335/0.2378, allocations: 23.86 kB / 403.9 MB, free: 33.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.2379, allocations: 34.7 kB / 403.9 MB, free: 33.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001069/0.238, allocations: 43.95 kB / 404 MB, free: 33.58 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.2382, allocations: 127.7 kB / 404.1 MB, free: 33.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.422e-05/0.2383, allocations: 31.95 kB / 404.1 MB, free: 33.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.923e-05/0.2384, allocations: 55.78 kB / 404.2 MB, free: 33.37 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.2385, allocations: 87.72 kB / 404.3 MB, free: 33.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.854e-05/0.2385, allocations: 12 kB / 404.3 MB, free: 33.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.858e-05/0.2385, allocations: 8 kB / 404.3 MB, free: 33.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.697e-05/0.2386, allocations: 55.86 kB / 404.3 MB, free: 33.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.96e-05/0.2387, allocations: 63.59 kB / 404.4 MB, free: 33.15 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001001/0.2388, allocations: 101.8 kB / 404.5 MB, free: 33.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2388, allocations: 4 kB / 404.5 MB, free: 33.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2388, allocations: 0 / 404.5 MB, free: 33.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5e-06/0.2388, allocations: 0 / 404.5 MB, free: 33.05 MB / 302.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.0008964/0.2397, allocations: 0.5065 MB / 405 MB, free: 32.49 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.2397, allocations: 8.031 kB / 405 MB, free: 32.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.023e-05/0.2398, allocations: 16.75 kB / 405 MB, free: 32.47 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/0.2401, allocations: 279.5 kB / 405.3 MB, free: 32.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.699e-06/0.2402, allocations: 4.375 kB / 405.3 MB, free: 32.15 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.2402, allocations: 8.375 kB / 405.3 MB, free: 32.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.2404, allocations: 125.9 kB / 405.4 MB, free: 32.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.2404, allocations: 0 / 405.4 MB, free: 32.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.2404, allocations: 0 / 405.4 MB, free: 32.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.2404, allocations: 4 kB / 405.4 MB, free: 32.01 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002345/0.2407, allocations: 123.8 kB / 405.6 MB, free: 31.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007272/0.2414, allocations: 492.5 kB / 406 MB, free: 31.36 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.2416, allocations: 110.5 kB / 406.2 MB, free: 31.24 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.2418, allocations: 88.73 kB / 406.2 MB, free: 31.15 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.2418, allocations: 0 / 406.2 MB, free: 31.15 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.12e-05/0.2418, allocations: 34.56 kB / 406.3 MB, free: 31.11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.2418, allocations: 0 / 406.3 MB, free: 31.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004637/0.2423, allocations: 253.5 kB / 406.5 MB, free: 30.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.979e-05/0.2423, allocations: 55.41 kB / 406.6 MB, free: 30.79 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003064/0.2426, allocations: 223.3 kB / 406.8 MB, free: 30.56 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.2426, allocations: 29.7 kB / 406.8 MB, free: 30.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.482e-05/0.2427, allocations: 112.1 kB / 406.9 MB, free: 30.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.2427, allocations: 43.48 kB / 407 MB, free: 30.37 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.58e-05/0.2428, allocations: 29.72 kB / 407 MB, free: 30.33 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.746e-05/0.2428, allocations: 334.8 kB / 407.3 MB, free: 30 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.243, allocations: 75.88 kB / 407.4 MB, free: 29.92 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.2431, allocations: 75.94 kB / 407.5 MB, free: 29.85 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/0.2433, allocations: 159.1 kB / 407.6 MB, free: 29.69 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2434, allocations: 0 / 407.6 MB, free: 29.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002991/0.2437, allocations: 213.4 kB / 407.8 MB, free: 29.48 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.2437, allocations: 8 kB / 407.9 MB, free: 29.47 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.2437, allocations: 0 / 407.9 MB, free: 29.47 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.2437, allocations: 0 / 407.9 MB, free: 29.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.2439, allocations: 35.92 kB / 407.9 MB, free: 29.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.269e-06/0.2439, allocations: 0 / 407.9 MB, free: 29.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.2441, allocations: 23.91 kB / 407.9 MB, free: 29.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.2441, allocations: 8 kB / 407.9 MB, free: 29.4 MB / 302.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.389e-05/0.2442, allocations: 137.8 kB / 408.1 MB, free: 29.26 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.446e-05/0.2442, allocations: 19.75 kB / 408.1 MB, free: 29.24 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.307e-05/0.2443, allocations: 25.41 kB / 408.1 MB, free: 29.21 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.2443, allocations: 0 / 408.1 MB, free: 29.21 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.2443, allocations: 4 kB / 408.1 MB, free: 29.21 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.2443, allocations: 0 / 408.1 MB, free: 29.21 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.2445, allocations: 257.4 kB / 408.4 MB, free: 28.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.2445, allocations: 0 / 408.4 MB, free: 28.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.2446, allocations: 31.92 kB / 408.4 MB, free: 28.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.2447, allocations: 0 / 408.4 MB, free: 28.88 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.2447, allocations: 7.984 kB / 408.4 MB, free: 28.87 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.2447, allocations: 4 kB / 408.4 MB, free: 28.87 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2447, allocations: 3.984 kB / 408.4 MB, free: 28.86 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004572/0.2452, allocations: 379.5 kB / 408.8 MB, free: 28.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.197e-05/0.2452, allocations: 92.86 kB / 408.9 MB, free: 28.37 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.2452, allocations: 4 kB / 408.9 MB, free: 28.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.2454, allocations: 24.02 kB / 408.9 MB, free: 28.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.496e-05/0.2455, allocations: 7.984 kB / 408.9 MB, free: 28.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.2455, allocations: 4 kB / 408.9 MB, free: 28.33 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002552/0.2458, allocations: 171.3 kB / 409.1 MB, free: 28.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2458, allocations: 8 kB / 409.1 MB, free: 28.15 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002306/0.246, allocations: 24 kB / 409.1 MB, free: 28.13 MB / 302.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 7.957e-05/0.2461, allocations: 111 kB / 409.2 MB, free: 28.01 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003231/0.2464, allocations: 167.8 kB / 409.4 MB, free: 27.85 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2465, allocations: 0 / 409.4 MB, free: 27.85 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.2466, allocations: 87.94 kB / 409.5 MB, free: 27.76 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.2469, allocations: 18.38 kB / 409.5 MB, free: 27.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005713/0.2475, allocations: 446.3 kB / 409.9 MB, free: 27.28 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.2476, allocations: 0.7313 MB / 410.6 MB, free: 26.52 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.991e-05/0.2477, allocations: 11.44 kB / 410.7 MB, free: 26.51 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2477, allocations: 0 / 410.7 MB, free: 26.51 MB / 302.1 MB Notification: Performance of Templates: time 0.002628/0.2503, allocations: 1.956 MB / 412.6 MB, free: 24.55 MB / 302.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)