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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package HanserModelica with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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 3.2.3+maint.om/package.mo): time 0.001505/0.001505, allocations: 175.4 kB / 16.12 MB, free: 5.699 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.04796/0.04796, allocations: 8.772 MB / 25.64 MB, free: 3.727 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.54/1.54, allocations: 205.4 MB / 233.9 MB, free: 12.49 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008203/0.0008206, allocations: 93.17 kB / 284.4 MB, free: 14.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006617/0.0006618, allocations: 16 kB / 344.8 MB, free: 1.879 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2565, allocations: 49.71 MB / 394.5 MB, free: 36.78 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1247/0.3812, allocations: 100.4 MB / 494.9 MB, free: 276 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/0.3816, allocations: 79.91 kB / 494.9 MB, free: 196 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.422/1.804, allocations: 361.7 MB / 0.8366 GB, free: 54.44 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.609e-06/1.804, allocations: 0 / 0.8366 GB, free: 54.44 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0008044/1.804, allocations: 235 kB / 0.8368 GB, free: 54.42 MB / 458.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.04316/1.848, allocations: 10.26 MB / 0.8468 GB, free: 51.43 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.646e-05/1.848, allocations: 11.19 kB / 0.8468 GB, free: 51.43 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02996/1.878, allocations: 5.353 MB / 0.8521 GB, free: 50.86 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0182/1.896, allocations: 6.816 MB / 0.8587 GB, free: 49.9 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001412/1.897, allocations: 0.7859 MB / 0.8595 GB, free: 49.88 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006273/1.904, allocations: 0.9974 MB / 0.8605 GB, free: 49.87 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05407/1.958, allocations: 18.53 MB / 0.8786 GB, free: 48.62 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005644/1.958, allocations: 14.97 kB / 0.8786 GB, free: 48.62 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005213/1.964, allocations: 444.3 kB / 0.879 GB, free: 48.62 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001109/1.965, allocations: 0.7255 MB / 0.8797 GB, free: 48.59 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04083/2.006, allocations: 16.27 MB / 0.8956 GB, free: 48.48 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1247/2.13, allocations: 53.91 MB / 0.9482 GB, free: 24.58 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02392/2.154, allocations: 13.99 MB / 0.9619 GB, free: 11.93 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01864/2.173, allocations: 8.74 MB / 0.9704 GB, free: 4.246 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001478/2.175, allocations: 316.6 kB / 0.9707 GB, free: 3.984 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002012/2.175, allocations: 119.4 kB / 0.9709 GB, free: 3.859 MB / 458.7 MB Notification: Performance of pre-optimization done (n=996): time 2.036e-05/2.175, allocations: 0 / 0.9709 GB, free: 3.859 MB / 458.7 MB Notification: Performance of matching and sorting (n=996): time 0.4862/2.661, allocations: 36.15 MB / 1.006 GB, free: 66.91 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/2.661, allocations: 162.3 kB / 1.006 GB, free: 66.81 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003732/2.665, allocations: 2.058 MB / 1.008 GB, free: 66.6 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002291/2.667, allocations: 152.5 kB / 1.008 GB, free: 66.57 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002082/2.669, allocations: 3.208 MB / 1.012 GB, free: 65.55 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005385/2.675, allocations: 3.239 MB / 1.015 GB, free: 63.57 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001481/2.676, allocations: 145.9 kB / 1.015 GB, free: 63.57 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0009163/2.677, allocations: 0.6612 MB / 1.016 GB, free: 63.25 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01157/2.689, allocations: 6.02 MB / 1.021 GB, free: 63.23 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01632/2.705, allocations: 6.935 MB / 1.028 GB, free: 62.62 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02652/2.732, allocations: 13.69 MB / 1.042 GB, free: 61.88 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.96e-05/2.732, allocations: 3.75 kB / 1.042 GB, free: 61.88 MB / 474.7 MB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.0447/2.776, allocations: 17.07 MB / 1.058 GB, free: 61.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.595e-05/2.777, allocations: 9.281 kB / 1.058 GB, free: 61.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.774e-05/2.777, allocations: 19.28 kB / 1.058 GB, free: 61.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01378/2.79, allocations: 5.67 MB / 1.064 GB, free: 60.53 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006621/2.797, allocations: 1.21 MB / 1.065 GB, free: 60.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01821/2.815, allocations: 10.58 MB / 1.075 GB, free: 54.91 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007049/2.823, allocations: 0.8373 MB / 1.076 GB, free: 54.45 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002894/2.825, allocations: 297.2 kB / 1.076 GB, free: 54.38 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * 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 (639): * Single equations (assignments): 555 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 80 * 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: 0 * Non-linear torn systems: 4 {6 9,18 144,6 9,11 77} Notification: Performance of prepare postOptimizeDAE: time 0.01368/2.839, allocations: 4.034 MB / 1.08 GB, free: 52.61 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003582/2.843, allocations: 447.5 kB / 1.081 GB, free: 52.38 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04739/2.89, allocations: 18.04 MB / 1.098 GB, free: 44.92 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04003/2.93, allocations: 16.28 MB / 1.114 GB, free: 34.42 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.677e-05/2.93, allocations: 4 kB / 1.114 GB, free: 34.41 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000277/2.931, allocations: 42.94 kB / 1.114 GB, free: 34.41 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07759/3.008, allocations: 33.17 MB / 1.147 GB, free: 6.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001233/3.008, allocations: 3.75 kB / 1.147 GB, free: 6.57 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005586/3.014, allocations: 1.093 MB / 1.148 GB, free: 5.742 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01444/3.029, allocations: 5.652 MB / 1.153 GB, free: 1.113 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003027/3.032, allocations: 204.8 kB / 1.154 GB, free: 0.9375 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01956/3.051, allocations: 10.71 MB / 1.164 GB, free: 7.949 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/3.051, allocations: 4 kB / 1.164 GB, free: 7.945 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4514/3.503, allocations: 28.12 MB / 1.191 GB, free: 79.46 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006467/3.509, allocations: 2.008 MB / 1.193 GB, free: 79.36 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001936/3.511, allocations: 136.8 kB / 1.194 GB, free: 79.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004127/3.515, allocations: 417.2 kB / 1.194 GB, free: 79.36 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00195/3.517, allocations: 0.6973 MB / 1.195 GB, free: 79.35 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008882/3.518, allocations: 264.7 kB / 1.195 GB, free: 79.35 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002801/3.521, allocations: 1.43 MB / 1.196 GB, free: 79.21 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.41e-07/3.521, allocations: 0 / 1.196 GB, free: 79.21 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009136/3.53, allocations: 2.677 MB / 1.199 GB, free: 79.02 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (587): * Single equations (assignments): 503 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 80 * 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: 0 * Non-linear torn systems: 4 {6 9,18 144,6 9,12 76} Notification: Performance of Backend phase and start with SimCode phase: time 0.001855/3.532, allocations: 372.9 kB / 1.199 GB, free: 78.93 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02782/3.56, allocations: 14.79 MB / 1.214 GB, free: 78.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.221e-05/3.56, allocations: 0 / 1.214 GB, free: 78.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01915/3.579, allocations: 7.924 MB / 1.221 GB, free: 78.46 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01198/3.591, allocations: 0.8883 MB / 1.222 GB, free: 78.45 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06422/3.655, allocations: 27.52 MB / 1.249 GB, free: 69.78 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01705/3.672, allocations: 7.193 MB / 1.256 GB, free: 68.74 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.008433/3.681, allocations: 1.761 MB / 1.258 GB, free: 68.58 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002538/3.684, allocations: 337.3 kB / 1.258 GB, free: 68.57 MB / 490.7 MB Notification: Performance of SimCode: time 1.833e-06/3.684, allocations: 0 / 1.258 GB, free: 68.57 MB / 490.7 MB Notification: Performance of Templates: time 0.5512/4.235, allocations: 138.3 MB / 1.393 GB, free: 77.02 MB / 490.7 MB 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)