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.008807/0.008807, allocations: 99.92 kB / 15.73 MB, free: 6.016 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.001631/0.001631, allocations: 187.6 kB / 16.67 MB, free: 5.93 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.003788/0.003788, allocations: 0.8782 MB / 291.4 MB, free: 13.86 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 67.91 kB / 402.8 MB, free: 31.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09053/0.0919, allocations: 49.65 MB / 452.5 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(BidiDCDC.Examples.TransferFunction): time 0.00359/0.09554, allocations: 1.595 MB / 454.1 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.09668, allocations: 490.7 kB / 454.6 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.09683, allocations: 0 / 454.6 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003424/0.09719, allocations: 23.84 kB / 454.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001787/0.09743, allocations: 39.78 kB / 454.6 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001845/0.09762, allocations: 43.92 kB / 454.7 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002415/0.09787, allocations: 127.7 kB / 454.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.09801, allocations: 23.97 kB / 454.8 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.09814, allocations: 59.77 kB / 454.9 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.09833, allocations: 91.72 kB / 455 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.07e-05/0.09838, allocations: 8 kB / 455 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.834e-05/0.09842, allocations: 12 kB / 455 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.794e-05/0.09852, allocations: 55.8 kB / 455 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.533e-05/0.09861, allocations: 59.66 kB / 455.1 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.09883, allocations: 143.4 kB / 455.2 MB, free: 11.31 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.09885, allocations: 0 / 455.2 MB, free: 11.31 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.09885, allocations: 0 / 455.2 MB, free: 11.31 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.814e-06/0.09887, allocations: 4 kB / 455.3 MB, free: 11.3 MB / 334.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.001123/0.1, allocations: 0.518 MB / 455.8 MB, free: 10.74 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.1001, allocations: 8.031 kB / 455.8 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.711e-05/0.1001, allocations: 16.84 kB / 455.8 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005247/0.1007, allocations: 267.9 kB / 456.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.1007, allocations: 4.375 kB / 456.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/0.1007, allocations: 8.375 kB / 456.1 MB, free: 10.4 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002903/0.101, allocations: 125.9 kB / 456.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.101, allocations: 3.953 kB / 456.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.1011, allocations: 7.938 kB / 456.2 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.1011, allocations: 7.984 kB / 456.2 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002902/0.1014, allocations: 119.9 kB / 456.3 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008477/0.1022, allocations: 484.6 kB / 456.8 MB, free: 9.613 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/0.1025, allocations: 122.4 kB / 456.9 MB, free: 9.484 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.1026, allocations: 80.81 kB / 457 MB, free: 9.402 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.1027, allocations: 0 / 457 MB, free: 9.402 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.1027, allocations: 34.55 kB / 457 MB, free: 9.359 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 9.02e-07/0.1027, allocations: 4 kB / 457 MB, free: 9.355 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005713/0.1033, allocations: 253.6 kB / 457.3 MB, free: 9.102 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.1033, allocations: 51.41 kB / 457.3 MB, free: 9.039 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003861/0.1037, allocations: 223.2 kB / 457.6 MB, free: 8.812 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.1037, allocations: 25.7 kB / 457.6 MB, free: 8.781 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.71e-05/0.1038, allocations: 124.2 kB / 457.7 MB, free: 8.656 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.809e-05/0.1039, allocations: 43.64 kB / 457.7 MB, free: 8.613 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.768e-05/0.104, allocations: 29.7 kB / 457.8 MB, free: 8.578 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1041, allocations: 330.8 kB / 458.1 MB, free: 8.246 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.1043, allocations: 75.94 kB / 458.2 MB, free: 8.172 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.1044, allocations: 71.94 kB / 458.2 MB, free: 8.102 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003207/0.1047, allocations: 164.5 kB / 458.4 MB, free: 7.941 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1048, allocations: 0 / 458.4 MB, free: 7.941 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003753/0.1051, allocations: 213.5 kB / 458.6 MB, free: 7.727 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.1052, allocations: 4 kB / 458.6 MB, free: 7.723 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.1052, allocations: 0 / 458.6 MB, free: 7.723 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.1052, allocations: 0 / 458.6 MB, free: 7.723 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.1054, allocations: 39.91 kB / 458.7 MB, free: 7.684 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.1054, allocations: 3.938 kB / 458.7 MB, free: 7.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.1056, allocations: 31.92 kB / 458.7 MB, free: 7.648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.1056, allocations: 0 / 458.7 MB, free: 7.648 MB / 334.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 0.0001302/0.1057, allocations: 134.4 kB / 458.8 MB, free: 7.508 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.384e-05/0.1058, allocations: 15.91 kB / 458.8 MB, free: 7.492 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.159e-05/0.1059, allocations: 25.39 kB / 458.9 MB, free: 7.461 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1059, allocations: 0 / 458.9 MB, free: 7.461 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.1059, allocations: 4 kB / 458.9 MB, free: 7.457 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1059, allocations: 3.938 kB / 458.9 MB, free: 7.453 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002806/0.1062, allocations: 261.4 kB / 459.1 MB, free: 7.148 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1062, allocations: 3.938 kB / 459.1 MB, free: 7.145 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/0.1064, allocations: 27.97 kB / 459.2 MB, free: 7.117 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1064, allocations: 0 / 459.2 MB, free: 7.117 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.1064, allocations: 8 kB / 459.2 MB, free: 7.109 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1064, allocations: 3.984 kB / 459.2 MB, free: 7.105 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1064, allocations: 0 / 459.2 MB, free: 7.105 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005668/0.107, allocations: 371.2 kB / 459.5 MB, free: 6.727 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.564e-05/0.1071, allocations: 101 kB / 459.6 MB, free: 6.609 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.1071, allocations: 0 / 459.6 MB, free: 6.609 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.1073, allocations: 23.97 kB / 459.6 MB, free: 6.586 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.13e-05/0.1074, allocations: 15.92 kB / 459.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.1074, allocations: 4 kB / 459.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002969/0.1077, allocations: 179.2 kB / 459.8 MB, free: 6.391 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1077, allocations: 0 / 459.8 MB, free: 6.391 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000247/0.108, allocations: 27.95 kB / 459.9 MB, free: 6.363 MB / 334.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 9.567e-05/0.1081, allocations: 99.77 kB / 460 MB, free: 6.258 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003614/0.1085, allocations: 167.8 kB / 460.1 MB, free: 6.094 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1085, allocations: 0 / 460.1 MB, free: 6.094 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.1086, allocations: 79.88 kB / 460.2 MB, free: 6.016 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.1089, allocations: 27.97 kB / 460.2 MB, free: 5.988 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006897/0.1096, allocations: 372.1 kB / 460.6 MB, free: 5.598 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.11, allocations: 0.7314 MB / 461.3 MB, free: 4.84 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.363e-05/0.1101, allocations: 32.84 kB / 461.4 MB, free: 4.805 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.724e-05/0.1101, allocations: 15.44 kB / 461.4 MB, free: 4.789 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1101, allocations: 0 / 461.4 MB, free: 4.789 MB / 334.1 MB Notification: Performance of Templates: time 0.004185/0.1143, allocations: 1.518 MB / 462.9 MB, free: 3.277 MB / 334.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)