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: "" <> buildModelFMU(BidiDCDC.Examples.TransferFunction,fileNamePrefix="BidiDCDC_BidiDCDC_Examples_TransferFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BidiDCDC.Examples.TransferFunction,fileNamePrefix="BidiDCDC_BidiDCDC_Examples_TransferFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 194.6 kB / 16.53 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.327/1.327, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.003837/0.003837, allocations: 0.8788 MB / 291.3 MB, free: 1.402 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 63.89 kB / 352 MB, free: 1.895 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08532/0.08655, allocations: 49.66 MB / 401.7 MB, free: 196 kB / 286.1 MB Notification: Performance of NFInst.instantiate(BidiDCDC.Examples.TransferFunction): time 0.1431/0.2297, allocations: 1.598 MB / 403.3 MB, free: 9.695 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006876/0.2304, allocations: 490.9 kB / 403.8 MB, free: 9.367 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.43e-05/0.2305, allocations: 1.156 kB / 403.8 MB, free: 9.367 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002338/0.2308, allocations: 25.38 kB / 403.8 MB, free: 9.355 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.2309, allocations: 33.42 kB / 403.8 MB, free: 9.336 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001244/0.231, allocations: 38.77 kB / 403.9 MB, free: 9.32 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000172/0.2312, allocations: 137.3 kB / 404 MB, free: 9.266 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.2313, allocations: 19.62 kB / 404 MB, free: 9.262 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.705e-05/0.2314, allocations: 57.83 kB / 404.1 MB, free: 9.238 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.2316, allocations: 89.16 kB / 404.2 MB, free: 9.207 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.605e-05/0.2316, allocations: 11 kB / 404.2 MB, free: 9.207 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.783e-05/0.2316, allocations: 11.25 kB / 404.2 MB, free: 9.207 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.017e-05/0.2317, allocations: 51.83 kB / 404.2 MB, free: 9.188 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.493e-05/0.2318, allocations: 65.78 kB / 404.3 MB, free: 9.141 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.232, allocations: 139.8 kB / 404.4 MB, free: 9.086 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.232, allocations: 1.156 kB / 404.5 MB, free: 9.086 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.232, allocations: 0 / 404.5 MB, free: 9.086 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.232, allocations: 0 / 404.5 MB, free: 9.086 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.001008/0.233, allocations: 0.5082 MB / 405 MB, free: 8.672 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.2331, allocations: 13.61 kB / 405 MB, free: 8.668 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.853e-05/0.2331, allocations: 39.05 kB / 405 MB, free: 8.625 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.963e-05/0.2332, allocations: 16.06 kB / 405 MB, free: 8.617 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004074/0.2336, allocations: 267.8 kB / 405.3 MB, free: 8.379 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.2336, allocations: 6.531 kB / 405.3 MB, free: 8.375 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.597e-05/0.2336, allocations: 5.594 kB / 405.3 MB, free: 8.375 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/0.2339, allocations: 130.2 kB / 405.4 MB, free: 8.309 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.2339, allocations: 1.594 kB / 405.4 MB, free: 8.309 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.2339, allocations: 0 / 405.4 MB, free: 8.309 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.2339, allocations: 1.094 kB / 405.4 MB, free: 8.309 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002856/0.2342, allocations: 126 kB / 405.6 MB, free: 8.281 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007691/0.235, allocations: 486 kB / 406 MB, free: 7.945 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002202/0.2352, allocations: 123.7 kB / 406.1 MB, free: 7.891 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.2354, allocations: 75.72 kB / 406.2 MB, free: 7.863 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.2354, allocations: 1.031 kB / 406.2 MB, free: 7.863 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.638e-05/0.2354, allocations: 37.83 kB / 406.3 MB, free: 7.82 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.883e-06/0.2354, allocations: 2.344 kB / 406.3 MB, free: 7.82 MB / 286.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005547/0.236, allocations: 254.1 kB / 406.5 MB, free: 7.723 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.236, allocations: 54.28 kB / 406.6 MB, free: 7.66 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003741/0.2364, allocations: 221.1 kB / 406.8 MB, free: 7.531 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.2364, allocations: 29.7 kB / 406.8 MB, free: 7.496 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.737e-05/0.2365, allocations: 117.4 kB / 406.9 MB, free: 7.391 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.43e-05/0.2365, allocations: 40.28 kB / 407 MB, free: 7.359 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.468e-05/0.2366, allocations: 33.3 kB / 407 MB, free: 7.332 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.854e-05/0.2366, allocations: 332.1 kB / 407.3 MB, free: 7.008 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.2368, allocations: 75.27 kB / 407.4 MB, free: 6.988 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.237, allocations: 77.7 kB / 407.5 MB, free: 6.969 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002827/0.2372, allocations: 156 kB / 407.6 MB, free: 6.918 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2373, allocations: 5.094 kB / 407.6 MB, free: 6.914 MB / 286.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003857/0.2376, allocations: 218.2 kB / 407.8 MB, free: 6.832 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.2377, allocations: 7.328 kB / 407.8 MB, free: 6.828 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.2377, allocations: 0 / 407.8 MB, free: 6.828 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.2377, allocations: 0 / 407.8 MB, free: 6.828 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/0.2379, allocations: 33.58 kB / 407.9 MB, free: 6.824 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.2379, allocations: 1.844 kB / 407.9 MB, free: 6.824 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001961/0.2381, allocations: 29.22 kB / 407.9 MB, free: 6.816 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.2381, allocations: 3.375 kB / 407.9 MB, free: 6.816 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.78e-05/0.2382, allocations: 145.2 kB / 408.1 MB, free: 6.68 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.989e-05/0.2382, allocations: 13.69 kB / 408.1 MB, free: 6.672 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.48e-05/0.2383, allocations: 24.8 kB / 408.1 MB, free: 6.656 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.2383, allocations: 2.312 kB / 408.1 MB, free: 6.656 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2383, allocations: 0 / 408.1 MB, free: 6.656 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2383, allocations: 0.7031 kB / 408.1 MB, free: 6.656 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002274/0.2386, allocations: 256.5 kB / 408.3 MB, free: 6.43 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2386, allocations: 0 / 408.3 MB, free: 6.43 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001753/0.2388, allocations: 27.14 kB / 408.4 MB, free: 6.43 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2388, allocations: 0 / 408.4 MB, free: 6.43 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.2388, allocations: 7.219 kB / 408.4 MB, free: 6.426 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2388, allocations: 1.938 kB / 408.4 MB, free: 6.426 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2388, allocations: 1.016 kB / 408.4 MB, free: 6.426 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005292/0.2393, allocations: 379.9 kB / 408.8 MB, free: 6.211 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.626e-05/0.2394, allocations: 96.81 kB / 408.8 MB, free: 6.105 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.841e-05/0.2394, allocations: 2.328 kB / 408.8 MB, free: 6.105 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.2396, allocations: 26.14 kB / 408.9 MB, free: 6.102 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/0.2397, allocations: 6.516 kB / 408.9 MB, free: 6.102 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.2397, allocations: 1.906 kB / 408.9 MB, free: 6.102 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002936/0.24, allocations: 178.9 kB / 409.1 MB, free: 6 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.24, allocations: 0 / 409.1 MB, free: 6 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002549/0.2403, allocations: 29.25 kB / 409.1 MB, free: 5.992 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 0.0006772/0.241, allocations: 0.912 MB / 410 MB, free: 5.246 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003792/0.2413, allocations: 167.9 kB / 410.2 MB, free: 5.207 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2414, allocations: 0 / 410.2 MB, free: 5.207 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001644/0.2415, allocations: 79.27 kB / 410.2 MB, free: 5.188 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.2419, allocations: 15.39 kB / 410.3 MB, free: 5.184 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002938/0.2448, allocations: 2.239 MB / 412.5 MB, free: 3.664 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001873/0.245, allocations: 0.728 MB / 413.2 MB, free: 2.965 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001077/0.2451, allocations: 33.91 kB / 413.3 MB, free: 2.965 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.332e-05/0.2452, allocations: 45.92 kB / 413.3 MB, free: 2.934 MB / 286.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2452, allocations: 3.938 kB / 413.3 MB, free: 2.93 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01965/0.2649, allocations: 3.352 MB / 416.7 MB, free: 2.418 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.038/7.303, allocations: 5 kB / 416.7 MB, free: 2.414 MB / 286.1 MB (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 & python3 -m fmpy simulate --output-file BidiDCDC_BidiDCDC.Examples.TransferFunction_res.csv --start-time 0 --stop-time 0.04 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2e-06 BidiDCDC_BidiDCDC_Examples_TransferFunction.fmu > BidiDCDC_BidiDCDC.Examples.TransferFunction.pipe 2>&1)