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.004649/0.004649, allocations: 101.1 kB / 15.73 MB, free: 6.051 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.001045/0.001045, allocations: 187.8 kB / 16.67 MB, free: 5.98 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 4.168 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.003861/0.003861, allocations: 0.8789 MB / 291.4 MB, free: 1.164 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 60.09 kB / 402.8 MB, free: 4.051 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2564, allocations: 49.67 MB / 452.5 MB, free: 22.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BidiDCDC.Examples.TransferFunction): time 0.002228/0.2587, allocations: 1.602 MB / 454.1 MB, free: 21.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006828/0.2594, allocations: 488.4 kB / 454.6 MB, free: 20.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.508e-05/0.2595, allocations: 0 / 454.6 MB, free: 20.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002683/0.2597, allocations: 35.94 kB / 454.6 MB, free: 20.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001179/0.2599, allocations: 21.61 kB / 454.6 MB, free: 20.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001293/0.26, allocations: 49.64 kB / 454.7 MB, free: 20.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.2602, allocations: 136.5 kB / 454.8 MB, free: 20.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.2603, allocations: 27.84 kB / 454.8 MB, free: 20.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.527e-05/0.2604, allocations: 50.77 kB / 454.9 MB, free: 20.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.2605, allocations: 92.97 kB / 455 MB, free: 20.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.091e-05/0.2606, allocations: 9 kB / 455 MB, free: 20.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.406e-05/0.2606, allocations: 12.12 kB / 455 MB, free: 20.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.966e-05/0.2607, allocations: 59.69 kB / 455.1 MB, free: 20.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.86e-05/0.2607, allocations: 54.23 kB / 455.1 MB, free: 20.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.2609, allocations: 144.5 kB / 455.3 MB, free: 20.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2609, allocations: 0 / 455.3 MB, free: 20.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2609, allocations: 0 / 455.3 MB, free: 20.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.2609, allocations: 0 / 455.3 MB, free: 20.67 MB / 350.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.0008606/0.2618, allocations: 0.512 MB / 455.8 MB, free: 20.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.2618, allocations: 8.625 kB / 455.8 MB, free: 20.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.314e-05/0.2619, allocations: 18 kB / 455.8 MB, free: 20.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003785/0.2622, allocations: 264.2 kB / 456 MB, free: 20 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.2623, allocations: 7.219 kB / 456.1 MB, free: 20 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.2623, allocations: 9.75 kB / 456.1 MB, free: 19.99 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.2625, allocations: 123.2 kB / 456.2 MB, free: 19.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.2625, allocations: 0 / 456.2 MB, free: 19.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.2626, allocations: 4 kB / 456.2 MB, free: 19.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.2626, allocations: 3.125 kB / 456.2 MB, free: 19.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002615/0.2628, allocations: 123.9 kB / 456.3 MB, free: 19.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006699/0.2635, allocations: 495.6 kB / 456.8 MB, free: 19.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.2637, allocations: 120 kB / 456.9 MB, free: 19.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.2638, allocations: 76.55 kB / 457 MB, free: 19.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.2639, allocations: 3 kB / 457 MB, free: 19.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.408e-05/0.2639, allocations: 34.5 kB / 457 MB, free: 19.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.863e-06/0.2639, allocations: 4 kB / 457 MB, free: 19.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004656/0.2644, allocations: 249.4 kB / 457.3 MB, free: 19.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.2644, allocations: 54.59 kB / 457.3 MB, free: 19.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003014/0.2647, allocations: 222.7 kB / 457.5 MB, free: 19.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.2647, allocations: 25.7 kB / 457.6 MB, free: 19.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.847e-05/0.2648, allocations: 116.8 kB / 457.7 MB, free: 19.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.2648, allocations: 44.62 kB / 457.7 MB, free: 18.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.746e-05/0.2649, allocations: 27.09 kB / 457.8 MB, free: 18.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.953e-05/0.2649, allocations: 328.4 kB / 458.1 MB, free: 18.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.2651, allocations: 77.44 kB / 458.2 MB, free: 18.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.2652, allocations: 71.72 kB / 458.2 MB, free: 18.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002358/0.2654, allocations: 167 kB / 458.4 MB, free: 18.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2654, allocations: 0 / 458.4 MB, free: 18.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002944/0.2657, allocations: 218.8 kB / 458.6 MB, free: 18.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.2658, allocations: 3.031 kB / 458.6 MB, free: 18.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2658, allocations: 3.062 kB / 458.6 MB, free: 18.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.2658, allocations: 0 / 458.6 MB, free: 18.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.266, allocations: 35.88 kB / 458.6 MB, free: 18.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.266, allocations: 0 / 458.6 MB, free: 18.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/0.2662, allocations: 36.62 kB / 458.7 MB, free: 18.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.2663, allocations: 2.969 kB / 458.7 MB, free: 18.44 MB / 350.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 8.736e-05/0.2664, allocations: 131.6 kB / 458.8 MB, free: 18.31 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.836e-05/0.2664, allocations: 16.75 kB / 458.8 MB, free: 18.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.557e-05/0.2665, allocations: 27.98 kB / 458.8 MB, free: 18.28 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.2665, allocations: 7.188 kB / 458.9 MB, free: 18.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.2665, allocations: 0 / 458.9 MB, free: 18.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.2665, allocations: 4 kB / 458.9 MB, free: 18.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002752/0.2668, allocations: 253.6 kB / 459.1 MB, free: 18.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.2668, allocations: 0 / 459.1 MB, free: 18.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002077/0.267, allocations: 26.78 kB / 459.1 MB, free: 18.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.267, allocations: 0 / 459.1 MB, free: 18.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.2671, allocations: 6.969 kB / 459.1 MB, free: 18.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.2671, allocations: 0 / 459.1 MB, free: 18.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2671, allocations: 3.938 kB / 459.1 MB, free: 18.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005297/0.2676, allocations: 379.4 kB / 459.5 MB, free: 17.83 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.402e-05/0.2677, allocations: 94.8 kB / 459.6 MB, free: 17.72 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.2677, allocations: 0 / 459.6 MB, free: 17.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.2679, allocations: 28.58 kB / 459.6 MB, free: 17.72 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.347e-05/0.268, allocations: 10.19 kB / 459.6 MB, free: 17.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.268, allocations: 7.047 kB / 459.7 MB, free: 17.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002378/0.2682, allocations: 176.7 kB / 459.8 MB, free: 17.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2682, allocations: 0 / 459.8 MB, free: 17.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002283/0.2684, allocations: 24.56 kB / 459.8 MB, free: 17.61 MB / 350.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 8.011e-05/0.2685, allocations: 114.1 kB / 460 MB, free: 17.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003354/0.2689, allocations: 168.8 kB / 460.1 MB, free: 17.46 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2689, allocations: 0 / 460.1 MB, free: 17.46 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.269, allocations: 77.7 kB / 460.2 MB, free: 17.44 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.2693, allocations: 20.08 kB / 460.2 MB, free: 17.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006444/0.27, allocations: 358.4 kB / 460.6 MB, free: 17.21 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001658/0.2702, allocations: 0.731 MB / 461.3 MB, free: 16.51 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.091e-05/0.2703, allocations: 34.48 kB / 461.3 MB, free: 16.51 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.058e-05/0.2703, allocations: 13.84 kB / 461.3 MB, free: 16.5 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2703, allocations: 3.938 kB / 461.4 MB, free: 16.5 MB / 350.1 MB Notification: Performance of Templates: time 0.004/0.2743, allocations: 1.517 MB / 462.9 MB, free: 16.36 MB / 350.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)