Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Magnetic.Coupling.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.Magnetic.Coupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Magnetic.Coupling") translateModel(HanserModelica.Magnetic.Coupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Magnetic.Coupling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001452/0.001452, allocations: 171.5 kB / 16.11 MB, free: 5.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.03968/0.03968, allocations: 8.771 MB / 25.64 MB, free: 3.352 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.485/1.485, allocations: 205.4 MB / 233.9 MB, free: 12.48 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.0009151/0.0009149, allocations: 97.55 kB / 284.4 MB, free: 14.33 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004444/0.0004447, allocations: 16 kB / 344.8 MB, free: 1.867 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3209, allocations: 49.71 MB / 394.5 MB, free: 36.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1086/0.4295, allocations: 79.83 MB / 474.3 MB, free: 4.812 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002259/0.4298, allocations: 71.91 kB / 474.4 MB, free: 4.742 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01282/0.4426, allocations: 4.634 MB / 479 MB, free: 108 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.856e-06/0.4427, allocations: 4 kB / 479 MB, free: 104 kB / 346.7 MB Notification: Performance of Transformations before backend: time 1.833e-05/0.4427, allocations: 8 kB / 479 MB, free: 96 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0008501/0.4436, allocations: 499.2 kB / 479.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.4436, allocations: 12.03 kB / 479.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.819e-05/0.4437, allocations: 36.59 kB / 479.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003143/0.4441, allocations: 228.2 kB / 479.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/0.4441, allocations: 20.94 kB / 479.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.212e-05/0.4442, allocations: 20.38 kB / 479.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004946/0.4447, allocations: 247.8 kB / 480.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.4447, allocations: 0 / 480.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/0.4447, allocations: 8 kB / 480.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.4447, allocations: 8 kB / 480.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003828/0.4451, allocations: 166.2 kB / 480.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001499/0.4466, allocations: 0.8705 MB / 481.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003017/0.447, allocations: 126.5 kB / 481.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.4471, allocations: 48.84 kB / 481.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.4471, allocations: 8 kB / 481.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.4472, allocations: 30.56 kB / 481.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.4472, allocations: 0 / 481.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.001448/0.4486, allocations: 0.5234 MB / 481.9 MB, free: 13.03 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.4487, allocations: 55.41 kB / 481.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.4489, allocations: 182.7 kB / 482.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.4489, allocations: 25.7 kB / 482.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.4491, allocations: 163.9 kB / 482.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.71e-05/0.4491, allocations: 51.34 kB / 482.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.754e-06/0.4491, allocations: 0 / 482.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.4493, allocations: 338.8 kB / 482.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.4495, allocations: 43.97 kB / 482.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001605/0.4496, allocations: 89.06 kB / 482.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002901/0.4499, allocations: 141.2 kB / 482.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.4499, allocations: 0 / 482.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004004/0.4504, allocations: 189.2 kB / 483.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.4504, allocations: 7.938 kB / 483.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.4504, allocations: 4 kB / 483.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.4504, allocations: 0 / 483.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.4507, allocations: 51.84 kB / 483.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.4507, allocations: 4 kB / 483.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.4508, allocations: 8 kB / 483.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.4508, allocations: 12.16 kB / 483.2 MB, free: 11.61 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 (booleanStep.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001491/0.451, allocations: 133.8 kB / 483.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.563e-05/0.451, allocations: 15.81 kB / 483.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.427e-05/0.4511, allocations: 17.52 kB / 483.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.4511, allocations: 7.938 kB / 483.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.4511, allocations: 0 / 483.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.4511, allocations: 3.984 kB / 483.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003337/0.4515, allocations: 269.5 kB / 483.6 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4515, allocations: 3.938 kB / 483.6 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/0.4517, allocations: 39.98 kB / 483.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.4517, allocations: 0 / 483.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.4517, allocations: 4 kB / 483.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.294e-06/0.4517, allocations: 7.922 kB / 483.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.4517, allocations: 0 / 483.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005416/0.4523, allocations: 295.2 kB / 484 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.4524, allocations: 96.94 kB / 484.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.4524, allocations: 4 kB / 484.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.4526, allocations: 15.92 kB / 484.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.866e-05/0.4526, allocations: 11.98 kB / 484.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.4527, allocations: 4 kB / 484.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001454/0.4528, allocations: 132.3 kB / 484.2 MB, free: 10.47 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4528, allocations: 0 / 484.2 MB, free: 10.47 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003219/0.4532, allocations: 40 kB / 484.3 MB, free: 10.43 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (converter.i) * Number of discrete variables: 1 (booleanStep.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002046/0.4534, allocations: 107.3 kB / 484.4 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003446/0.4537, allocations: 115.8 kB / 484.5 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4537, allocations: 0 / 484.5 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.4539, allocations: 63.84 kB / 484.6 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.4543, allocations: 20.31 kB / 484.6 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.4555, allocations: 0.5785 MB / 485.2 MB, free: 9.512 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.4558, allocations: 0.7361 MB / 485.9 MB, free: 8.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00011/0.456, allocations: 17.55 kB / 485.9 MB, free: 8.734 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.097e-05/0.456, allocations: 19.42 kB / 485.9 MB, free: 8.719 MB / 362.7 MB Notification: Performance of SimCode: time 5e-07/0.456, allocations: 4 kB / 485.9 MB, free: 8.715 MB / 362.7 MB Notification: Performance of Templates: time 0.004826/0.4609, allocations: 1.334 MB / 487.3 MB, free: 7.387 MB / 362.7 MB make -j1 -f HanserModelica_HanserModelica.Magnetic.Coupling.makefile (rm -f HanserModelica_HanserModelica.Magnetic.Coupling.pipe ; mkfifo HanserModelica_HanserModelica.Magnetic.Coupling.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Magnetic.Coupling.pipe >> ../files/HanserModelica_HanserModelica.Magnetic.Coupling.sim & ./HanserModelica_HanserModelica.Magnetic.Coupling -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Magnetic.Coupling.pipe 2>&1)