Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.EquivalentCircuit.conf.json 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/HanserModelica 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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) Running command: translateModel(HanserModelica.Machines.EquivalentCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.EquivalentCircuit") translateModel(HanserModelica.Machines.EquivalentCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.EquivalentCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002106/0.002105, allocations: 169.2 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.07335/0.07335, allocations: 8.716 MB / 16.79 MB, free: 3.375 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 221.5 MB / 240.9 MB, free: 13.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009373/0.0009372, allocations: 94.17 kB / 293.8 MB, free: 7.219 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.327e-05/1.33e-05, allocations: 4 kB / 352.6 MB, free: 1.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1109, allocations: 52.54 MB / 405.2 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4004/0.5113, allocations: 101.3 MB / 0.4946 GB, free: 2.176 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/0.5117, allocations: 68.59 kB / 0.4947 GB, free: 2.145 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.265/1.776, allocations: 364 MB / 0.8501 GB, free: 35.45 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.154e-06/1.776, allocations: 0 / 0.8501 GB, free: 35.45 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000821/1.777, allocations: 226.1 kB / 0.8504 GB, free: 35.42 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3006 * Number of variables: 3006 Notification: Performance of Generate backend data structure: time 0.03755/1.815, allocations: 10.01 MB / 0.8601 GB, free: 29.54 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.14e-05/1.815, allocations: 13.95 kB / 0.8602 GB, free: 29.54 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02977/1.845, allocations: 5.319 MB / 0.8653 GB, free: 26.14 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01986/1.865, allocations: 6.99 MB / 0.8722 GB, free: 19.12 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008004/1.865, allocations: 336 kB / 0.8725 GB, free: 18.79 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004958/1.87, allocations: 0.5935 MB / 0.8731 GB, free: 18.2 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03116/1.902, allocations: 13.62 MB / 0.8864 GB, free: 4.566 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05258/1.954, allocations: 15.64 MB / 0.9016 GB, free: 4.578 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007425/1.955, allocations: 15.91 kB / 0.9017 GB, free: 4.562 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004839/1.96, allocations: 8 kB / 0.9017 GB, free: 4.555 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001271/1.961, allocations: 0.8271 MB / 0.9025 GB, free: 3.723 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4313/2.392, allocations: 51.72 MB / 0.953 GB, free: 43.54 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01698/2.409, allocations: 15.67 MB / 0.9683 GB, free: 33.89 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006857/2.416, allocations: 3.752 MB / 0.9719 GB, free: 33.84 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005398/2.417, allocations: 189.6 kB / 0.9721 GB, free: 33.74 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.003e-05/2.417, allocations: 87.27 kB / 0.9722 GB, free: 33.7 MB / 458.7 MB Notification: Performance of pre-optimization done (n=504): time 7.454e-06/2.417, allocations: 0 / 0.9722 GB, free: 33.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=504): time 0.01664/2.434, allocations: 7.817 MB / 0.9798 GB, free: 33.25 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.659e-05/2.434, allocations: 129.9 kB / 0.98 GB, free: 33.15 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005353/2.439, allocations: 2.902 MB / 0.9828 GB, free: 32.88 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001309/2.44, allocations: 25.7 kB / 0.9828 GB, free: 32.85 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003733/2.444, allocations: 4.309 MB / 0.987 GB, free: 30.16 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002573/2.447, allocations: 1.644 MB / 0.9886 GB, free: 28.87 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004377/2.447, allocations: 0 / 0.9886 GB, free: 28.87 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003639/2.448, allocations: 0.5853 MB / 0.9892 GB, free: 28.45 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004313/2.452, allocations: 3.298 MB / 0.9924 GB, free: 27.23 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005735/2.458, allocations: 5.578 MB / 0.9979 GB, free: 23.08 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009997/2.468, allocations: 5.764 MB / 1.004 GB, free: 21.22 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001194/2.468, allocations: 21.31 kB / 1.004 GB, free: 21.22 MB / 458.7 MB Notification: Performance of matching and sorting (n=875) (initialization): time 0.02203/2.49, allocations: 11.01 MB / 1.014 GB, free: 17.92 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001489/2.49, allocations: 38 kB / 1.014 GB, free: 17.92 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002213/2.49, allocations: 75.03 kB / 1.014 GB, free: 17.92 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002943/2.493, allocations: 1.093 MB / 1.015 GB, free: 17.68 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006187/2.5, allocations: 1.552 MB / 1.017 GB, free: 17.63 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01323/2.513, allocations: 12.37 MB / 1.029 GB, free: 9.535 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006624/2.519, allocations: 0.7647 MB / 1.03 GB, free: 9.164 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001987/2.521, allocations: 316.8 kB / 1.03 GB, free: 9.113 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 342 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (789): * Single equations (assignments): 777 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 15,(1,100.0%) 15,(1,100.0%) 15,(4,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002822/2.524, allocations: 328.9 kB / 1.03 GB, free: 8.926 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001574/2.526, allocations: 389.1 kB / 1.031 GB, free: 8.723 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01717/2.543, allocations: 8.981 MB / 1.04 GB, free: 2.906 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01346/2.557, allocations: 7.706 MB / 1.047 GB, free: 12.75 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.982e-05/2.557, allocations: 12 kB / 1.047 GB, free: 12.74 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.742e-05/2.557, allocations: 30.81 kB / 1.047 GB, free: 12.74 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04807/2.605, allocations: 17.77 MB / 1.064 GB, free: 14.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.775e-05/2.605, allocations: 16 kB / 1.064 GB, free: 14.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004544/2.609, allocations: 0.9971 MB / 1.065 GB, free: 13.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003049/2.612, allocations: 0.9529 MB / 1.066 GB, free: 12.72 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00111/2.614, allocations: 50.94 kB / 1.066 GB, free: 12.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01483/2.628, allocations: 11.72 MB / 1.078 GB, free: 1.789 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.088e-05/2.629, allocations: 19.94 kB / 1.078 GB, free: 1.77 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02755/2.656, allocations: 14.82 MB / 1.092 GB, free: 4.105 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003338/2.659, allocations: 1.185 MB / 1.094 GB, free: 3.023 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001254/2.661, allocations: 22.92 kB / 1.094 GB, free: 3.004 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003291/2.664, allocations: 281.4 kB / 1.094 GB, free: 2.848 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007593/2.665, allocations: 406.1 kB / 1.094 GB, free: 2.582 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003542/2.665, allocations: 167.7 kB / 1.094 GB, free: 2.426 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003618/2.669, allocations: 2.117 MB / 1.096 GB, free: 0.6133 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.81e-07/2.669, allocations: 0 / 1.096 GB, free: 0.6133 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.3704/3.039, allocations: 2.678 MB / 1.099 GB, free: 91.04 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 2 (main_e.plug_p.reference.gamma,converter_m.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (507): * Single equations (assignments): 495 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13,(4,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001911/3.041, allocations: 252.8 kB / 1.099 GB, free: 90.96 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01489/3.056, allocations: 8.565 MB / 1.108 GB, free: 90.32 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.961e-05/3.056, allocations: 7.25 kB / 1.108 GB, free: 90.31 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006243/3.062, allocations: 4.268 MB / 1.112 GB, free: 89.82 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005714/3.068, allocations: 0.706 MB / 1.113 GB, free: 89.81 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03782/3.106, allocations: 15.97 MB / 1.128 GB, free: 86.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01526/3.121, allocations: 7.184 MB / 1.135 GB, free: 85.78 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.008866/3.13, allocations: 2.597 MB / 1.138 GB, free: 85.71 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001831/3.132, allocations: 375.4 kB / 1.138 GB, free: 85.71 MB / 0.4948 GB Notification: Performance of SimCode: time 2.064e-06/3.132, allocations: 0 / 1.138 GB, free: 85.71 MB / 0.4948 GB Notification: Performance of Templates: time 0.1301/3.262, allocations: 63.08 MB / 1.2 GB, free: 76.19 MB / 0.4948 GB make -j1 -f HanserModelica_HanserModelica.Machines.EquivalentCircuit.makefile (rm -f HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe ; mkfifo HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe >> ../files/HanserModelica_HanserModelica.Machines.EquivalentCircuit.sim & ./HanserModelica_HanserModelica.Machines.EquivalentCircuit -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe 2>&1)