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.001088/0.001088, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001229/0.001229, allocations: 195.5 kB / 16.14 MB, free: 6.664 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.33/1.33, allocations: 222.9 MB / 239.8 MB, free: 4.57 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.0035/0.0035, allocations: 0.8862 MB / 290.8 MB, free: 1.574 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0009565/0.0009564, allocations: 55.91 kB / 351.2 MB, free: 2.449 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08751/0.08848, allocations: 49.67 MB / 400.9 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of NFInst.instantiate(BidiDCDC.Examples.TransferFunction): time 0.1328/0.2214, allocations: 1.65 MB / 402.6 MB, free: 9.93 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006566/0.2221, allocations: 488.1 kB / 403 MB, free: 9.672 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.532e-05/0.2221, allocations: 0.5 kB / 403 MB, free: 9.672 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002378/0.2224, allocations: 19.48 kB / 403.1 MB, free: 9.668 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.2225, allocations: 30.2 kB / 403.1 MB, free: 9.652 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001097/0.2226, allocations: 42.91 kB / 403.1 MB, free: 9.633 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.2228, allocations: 128.2 kB / 403.3 MB, free: 9.586 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.2229, allocations: 21.69 kB / 403.3 MB, free: 9.578 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.069e-05/0.223, allocations: 55.06 kB / 403.3 MB, free: 9.559 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.2231, allocations: 79.06 kB / 403.4 MB, free: 9.535 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.941e-05/0.2232, allocations: 6.375 kB / 403.4 MB, free: 9.535 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.343e-05/0.2232, allocations: 6.125 kB / 403.4 MB, free: 9.535 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.61e-05/0.2233, allocations: 50.67 kB / 403.5 MB, free: 9.516 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.917e-05/0.2234, allocations: 58.73 kB / 403.5 MB, free: 9.477 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.2235, allocations: 133.8 kB / 403.7 MB, free: 9.426 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.2235, allocations: 3.594 kB / 403.7 MB, free: 9.426 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.2235, allocations: 1.094 kB / 403.7 MB, free: 9.426 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.2235, allocations: 0 / 403.7 MB, free: 9.426 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.0009371/0.2245, allocations: 0.506 MB / 404.2 MB, free: 9.012 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.2245, allocations: 13.73 kB / 404.2 MB, free: 9.008 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.631e-05/0.2246, allocations: 16.81 kB / 404.2 MB, free: 9 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003568/0.2249, allocations: 261.3 kB / 404.5 MB, free: 8.766 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.225, allocations: 11.34 kB / 404.5 MB, free: 8.758 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.225, allocations: 6.844 kB / 404.5 MB, free: 8.758 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002218/0.2252, allocations: 127 kB / 404.6 MB, free: 8.695 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.2252, allocations: 1.781 kB / 404.6 MB, free: 8.695 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.2253, allocations: 10.61 kB / 404.6 MB, free: 8.688 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.2253, allocations: 2.062 kB / 404.6 MB, free: 8.688 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002721/0.2255, allocations: 121.5 kB / 404.7 MB, free: 8.664 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007003/0.2262, allocations: 490.4 kB / 405.2 MB, free: 8.324 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/0.2265, allocations: 125.1 kB / 405.3 MB, free: 8.27 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.2266, allocations: 73.17 kB / 405.4 MB, free: 8.246 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.2266, allocations: 5.188 kB / 405.4 MB, free: 8.242 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.496e-05/0.2267, allocations: 36.36 kB / 405.4 MB, free: 8.199 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.2267, allocations: 0 / 405.4 MB, free: 8.199 MB / 286.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004915/0.2272, allocations: 254.8 kB / 405.7 MB, free: 8.105 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/0.2272, allocations: 53.62 kB / 405.7 MB, free: 8.043 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003349/0.2275, allocations: 223.4 kB / 406 MB, free: 7.91 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.2276, allocations: 31.08 kB / 406 MB, free: 7.875 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.994e-05/0.2276, allocations: 111.2 kB / 406.1 MB, free: 7.773 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.827e-05/0.2277, allocations: 39.59 kB / 406.1 MB, free: 7.742 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-05/0.2277, allocations: 30.14 kB / 406.2 MB, free: 7.719 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.107e-05/0.2278, allocations: 332.9 kB / 406.5 MB, free: 7.395 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.2279, allocations: 74.58 kB / 406.6 MB, free: 7.375 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.2281, allocations: 77.41 kB / 406.6 MB, free: 7.355 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.2284, allocations: 157.2 kB / 406.8 MB, free: 7.305 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2284, allocations: 0 / 406.8 MB, free: 7.305 MB / 286.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003457/0.2287, allocations: 217.4 kB / 407 MB, free: 7.215 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.2287, allocations: 10.62 kB / 407 MB, free: 7.211 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.2287, allocations: 0 / 407 MB, free: 7.211 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.2288, allocations: 2.266 kB / 407 MB, free: 7.211 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.2289, allocations: 31.98 kB / 407.1 MB, free: 7.207 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.229, allocations: 1.094 kB / 407.1 MB, free: 7.207 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.2291, allocations: 26.81 kB / 407.1 MB, free: 7.203 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.2291, allocations: 6.344 kB / 407.1 MB, free: 7.199 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.531e-05/0.2292, allocations: 141.2 kB / 407.2 MB, free: 7.066 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.609e-05/0.2293, allocations: 14.28 kB / 407.2 MB, free: 7.059 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.586e-05/0.2293, allocations: 32.84 kB / 407.3 MB, free: 7.039 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.2293, allocations: 1.188 kB / 407.3 MB, free: 7.039 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.2293, allocations: 1.797 kB / 407.3 MB, free: 7.039 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.2294, allocations: 0.75 kB / 407.3 MB, free: 7.039 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.2296, allocations: 255.5 kB / 407.5 MB, free: 6.812 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2296, allocations: 1.219 kB / 407.5 MB, free: 6.812 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/0.2298, allocations: 35.05 kB / 407.6 MB, free: 6.809 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2298, allocations: 0 / 407.6 MB, free: 6.809 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.2298, allocations: 4.797 kB / 407.6 MB, free: 6.805 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.2298, allocations: 2.25 kB / 407.6 MB, free: 6.805 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.2298, allocations: 0.5625 kB / 407.6 MB, free: 6.805 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004899/0.2303, allocations: 376.8 kB / 407.9 MB, free: 6.594 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.488e-05/0.2303, allocations: 92.52 kB / 408 MB, free: 6.492 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/0.2304, allocations: 9.812 kB / 408 MB, free: 6.484 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.2306, allocations: 22.06 kB / 408.1 MB, free: 6.484 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.728e-05/0.2306, allocations: 7.562 kB / 408.1 MB, free: 6.484 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.2306, allocations: 1.938 kB / 408.1 MB, free: 6.484 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000268/0.2309, allocations: 175.3 kB / 408.2 MB, free: 6.387 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2309, allocations: 0 / 408.2 MB, free: 6.387 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002279/0.2312, allocations: 29.22 kB / 408.3 MB, free: 6.379 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 (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.185e-05/0.2312, allocations: 108.5 kB / 408.4 MB, free: 6.277 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003274/0.2316, allocations: 160.6 kB / 408.5 MB, free: 6.238 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.2316, allocations: 0 / 408.5 MB, free: 6.238 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.2317, allocations: 79.27 kB / 408.6 MB, free: 6.219 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.232, allocations: 26.16 kB / 408.6 MB, free: 6.207 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005777/0.2326, allocations: 400.3 kB / 409 MB, free: 5.949 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001363/0.2327, allocations: 0.7265 MB / 409.7 MB, free: 5.25 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 9.659e-05/0.2328, allocations: 35.05 kB / 409.8 MB, free: 5.25 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.976e-05/0.2329, allocations: 13.8 kB / 409.8 MB, free: 5.242 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2329, allocations: 0 / 409.8 MB, free: 5.242 MB / 286.1 MB Notification: Performance of Templates: time 0.003566/0.2365, allocations: 1.363 MB / 411.2 MB, free: 5.137 MB / 286.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)