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.001447/0.001447, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001085/0.001086, allocations: 191 kB / 17.29 MB, free: 5.516 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.317/1.317, allocations: 222.9 MB / 241 MB, free: 14.98 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.004049/0.004048, allocations: 0.8812 MB / 292 MB, free: 13.86 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 59.91 kB / 353.4 MB, free: 492 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2329, allocations: 49.66 MB / 403 MB, free: 35.46 MB / 302.1 MB Notification: Performance of NFInst.instantiate(BidiDCDC.Examples.TransferFunction): time 0.002819/0.2358, allocations: 1.602 MB / 404.6 MB, free: 33.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000747/0.2366, allocations: 488.9 kB / 405.1 MB, free: 33.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.081e-05/0.2367, allocations: 7.938 kB / 405.1 MB, free: 33.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002893/0.237, allocations: 15.86 kB / 405.1 MB, free: 33.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.2371, allocations: 31.8 kB / 405.2 MB, free: 33.33 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001237/0.2373, allocations: 51.89 kB / 405.2 MB, free: 33.28 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002169/0.2375, allocations: 131.7 kB / 405.3 MB, free: 33.15 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.2376, allocations: 19.98 kB / 405.4 MB, free: 33.13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.038e-05/0.2377, allocations: 63.75 kB / 405.4 MB, free: 33.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.2379, allocations: 75.78 kB / 405.5 MB, free: 33 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.2379, allocations: 19.94 kB / 405.5 MB, free: 32.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.037e-05/0.2379, allocations: 12 kB / 405.5 MB, free: 32.96 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.038e-05/0.238, allocations: 47.89 kB / 405.6 MB, free: 32.92 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.123e-05/0.2381, allocations: 63.59 kB / 405.6 MB, free: 32.86 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.2382, allocations: 141.4 kB / 405.8 MB, free: 32.72 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2382, allocations: 0 / 405.8 MB, free: 32.72 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2382, allocations: 3.938 kB / 405.8 MB, free: 32.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.2383, allocations: 0 / 405.8 MB, free: 32.71 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.0009098/0.2392, allocations: 0.5063 MB / 406.3 MB, free: 32.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.2392, allocations: 15.97 kB / 406.3 MB, free: 32.15 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.209e-05/0.2393, allocations: 16.75 kB / 406.3 MB, free: 32.13 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004612/0.2397, allocations: 263.6 kB / 406.6 MB, free: 31.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.2398, allocations: 12.36 kB / 406.6 MB, free: 31.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.332e-05/0.2398, allocations: 8.375 kB / 406.6 MB, free: 31.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002385/0.2401, allocations: 121.9 kB / 406.7 MB, free: 31.69 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.2401, allocations: 0 / 406.7 MB, free: 31.69 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.2401, allocations: 4 kB / 406.7 MB, free: 31.69 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.2401, allocations: 0 / 406.7 MB, free: 31.69 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002653/0.2404, allocations: 131.8 kB / 406.8 MB, free: 31.56 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007966/0.2412, allocations: 480.5 kB / 407.3 MB, free: 31.04 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/0.2415, allocations: 130.4 kB / 407.4 MB, free: 30.9 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.2416, allocations: 77.02 kB / 407.5 MB, free: 30.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.2416, allocations: 3.938 kB / 407.5 MB, free: 30.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.2417, allocations: 38.56 kB / 407.6 MB, free: 30.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.342e-06/0.2417, allocations: 0 / 407.6 MB, free: 30.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004905/0.2422, allocations: 245.4 kB / 407.8 MB, free: 30.53 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.052e-05/0.2422, allocations: 55.41 kB / 407.9 MB, free: 30.46 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003201/0.2425, allocations: 215.3 kB / 408.1 MB, free: 30.24 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.2425, allocations: 33.7 kB / 408.1 MB, free: 30.2 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.75e-05/0.2426, allocations: 116.1 kB / 408.2 MB, free: 30.08 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/0.2426, allocations: 39.52 kB / 408.3 MB, free: 30.04 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.866e-05/0.2427, allocations: 33.64 kB / 408.3 MB, free: 30 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.924e-05/0.2427, allocations: 330.8 kB / 408.6 MB, free: 29.67 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.2429, allocations: 75.88 kB / 408.7 MB, free: 29.6 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.2431, allocations: 75.94 kB / 408.8 MB, free: 29.52 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003132/0.2434, allocations: 172 kB / 408.9 MB, free: 29.36 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2434, allocations: 0 / 408.9 MB, free: 29.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003198/0.2437, allocations: 205.4 kB / 409.1 MB, free: 29.15 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.2437, allocations: 4 kB / 409.1 MB, free: 29.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.2438, allocations: 0 / 409.1 MB, free: 29.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.2438, allocations: 4 kB / 409.1 MB, free: 29.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.244, allocations: 31.91 kB / 409.2 MB, free: 29.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.244, allocations: 8 kB / 409.2 MB, free: 29.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.2442, allocations: 23.91 kB / 409.2 MB, free: 29.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.2442, allocations: 8 kB / 409.2 MB, free: 29.07 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.887e-05/0.2443, allocations: 129.8 kB / 409.3 MB, free: 28.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.677e-05/0.2443, allocations: 19.8 kB / 409.3 MB, free: 28.91 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.759e-05/0.2444, allocations: 25.39 kB / 409.4 MB, free: 28.89 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.2444, allocations: 7.938 kB / 409.4 MB, free: 28.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2444, allocations: 4 kB / 409.4 MB, free: 28.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.2444, allocations: 0 / 409.4 MB, free: 28.88 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.2446, allocations: 257.4 kB / 409.6 MB, free: 28.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.2446, allocations: 0 / 409.6 MB, free: 28.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/0.2448, allocations: 31.91 kB / 409.7 MB, free: 28.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.2448, allocations: 4 kB / 409.7 MB, free: 28.54 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.2448, allocations: 0 / 409.7 MB, free: 28.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.2448, allocations: 4 kB / 409.7 MB, free: 28.54 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2448, allocations: 0 / 409.7 MB, free: 28.54 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000631/0.2455, allocations: 379.5 kB / 410 MB, free: 28.15 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.333e-05/0.2455, allocations: 96.89 kB / 410.1 MB, free: 28.04 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.2456, allocations: 4 kB / 410.1 MB, free: 28.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.2458, allocations: 23.97 kB / 410.2 MB, free: 28.01 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/0.2458, allocations: 11.98 kB / 410.2 MB, free: 28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.2458, allocations: 4 kB / 410.2 MB, free: 28 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.00026/0.2461, allocations: 179.3 kB / 410.4 MB, free: 27.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.2461, allocations: 0 / 410.4 MB, free: 27.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.2464, allocations: 24 kB / 410.4 MB, free: 27.8 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 6.887e-05/0.2464, allocations: 107.2 kB / 410.5 MB, free: 27.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004447/0.2469, allocations: 171.8 kB / 410.7 MB, free: 27.52 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2469, allocations: 0 / 410.7 MB, free: 27.52 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.2471, allocations: 75.95 kB / 410.7 MB, free: 27.44 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.2474, allocations: 19.98 kB / 410.7 MB, free: 27.42 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008134/0.2482, allocations: 360.7 kB / 411.1 MB, free: 27.04 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001785/0.2484, allocations: 0.7351 MB / 411.8 MB, free: 26.28 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000138/0.2486, allocations: 36.84 kB / 411.9 MB, free: 26.24 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.766e-05/0.2486, allocations: 11.44 kB / 411.9 MB, free: 26.23 MB / 302.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2486, allocations: 4 kB / 411.9 MB, free: 26.23 MB / 302.1 MB Notification: Performance of Templates: time 0.005271/0.2539, allocations: 1.494 MB / 413.4 MB, free: 24.74 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 -s gbode -lv LOG_STATS > BidiDCDC_BidiDCDC.Examples.TransferFunction.pipe 2>&1)