Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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 3.2.3+maint.om/package.mo", uses=false) 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 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.001446/0.001446, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.303/1.303, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000417/0.0004173, allocations: 23.98 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2389, allocations: 47.59 MB / 326.5 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.002426/0.2413, allocations: 2.139 MB / 328.6 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001618/0.243, allocations: 1.076 MB / 329.7 MB, free: 14.9 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.2431, allocations: 10.66 kB / 329.7 MB, free: 14.9 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003074/0.2434, allocations: 101.8 kB / 329.8 MB, free: 14.83 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003309/0.2438, allocations: 118.7 kB / 329.9 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.2449, allocations: 0.5535 MB / 330.5 MB, free: 14.32 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003735/0.2453, allocations: 209.8 kB / 330.7 MB, free: 14.2 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009601/0.2462, allocations: 0.506 MB / 331.2 MB, free: 13.81 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.2464, allocations: 103.8 kB / 331.3 MB, free: 13.75 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.2466, allocations: 124.2 kB / 331.4 MB, free: 13.68 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.868e-05/0.2467, allocations: 13.22 kB / 331.4 MB, free: 13.68 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003211/0.247, allocations: 146.1 kB / 331.6 MB, free: 13.62 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.373e-05/0.247, allocations: 46.52 kB / 331.6 MB, free: 13.58 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.119e-05/0.2471, allocations: 81.61 kB / 331.7 MB, free: 13.52 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004518/0.2476, allocations: 365.2 kB / 332 MB, free: 13.25 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.2476, allocations: 0 / 332 MB, free: 13.25 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2476, allocations: 0 / 332 MB, free: 13.25 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.2476, allocations: 1.094 kB / 332 MB, free: 13.25 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001571/0.2492, allocations: 0.6705 MB / 332.7 MB, free: 12.68 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.2492, allocations: 9.156 kB / 332.7 MB, free: 12.68 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007914/0.25, allocations: 113.8 kB / 332.8 MB, free: 12.64 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.2503, allocations: 258.7 kB / 333.1 MB, free: 12.37 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.2504, allocations: 33.8 kB / 333.1 MB, free: 12.35 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.337e-05/0.2504, allocations: 37.91 kB / 333.1 MB, free: 12.33 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005115/0.251, allocations: 328.6 kB / 333.5 MB, free: 12.12 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.251, allocations: 1.438 kB / 333.5 MB, free: 12.12 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.072e-05/0.251, allocations: 10.12 kB / 333.5 MB, free: 12.11 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.251, allocations: 8.219 kB / 333.5 MB, free: 12.11 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000435/0.2515, allocations: 241.5 kB / 333.7 MB, free: 12 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001946/0.2534, allocations: 1.445 MB / 335.2 MB, free: 10.53 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006947/0.2542, allocations: 0.7011 MB / 335.9 MB, free: 9.711 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001123/0.2543, allocations: 93.09 kB / 336 MB, free: 9.602 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.2543, allocations: 30.56 kB / 336 MB, free: 9.562 MB / 270.1 MB Notification: Performance of pre-optimization done (n=24): time 1.443e-06/0.2543, allocations: 0 / 336 MB, free: 9.562 MB / 270.1 MB Notification: Performance of matching and sorting (n=24): time 0.001207/0.2555, allocations: 495.3 kB / 336.5 MB, free: 9.051 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.2556, allocations: 63.36 kB / 336.5 MB, free: 8.977 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.2558, allocations: 167.3 kB / 336.7 MB, free: 8.801 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.2558, allocations: 29.7 kB / 336.7 MB, free: 8.766 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.874e-05/0.2559, allocations: 176 kB / 336.9 MB, free: 8.586 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.727e-05/0.256, allocations: 82.75 kB / 337 MB, free: 8.504 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.368e-05/0.256, allocations: 8 kB / 337 MB, free: 8.496 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.2561, allocations: 330.8 kB / 337.3 MB, free: 8.164 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.2562, allocations: 60.55 kB / 337.4 MB, free: 8.105 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.2564, allocations: 136.2 kB / 337.5 MB, free: 7.949 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.2565, allocations: 89.11 kB / 337.6 MB, free: 7.863 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2565, allocations: 0 / 337.6 MB, free: 7.863 MB / 270.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005355/0.2571, allocations: 324.8 kB / 337.9 MB, free: 7.539 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.2571, allocations: 4 kB / 337.9 MB, free: 7.535 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.2571, allocations: 4.219 kB / 337.9 MB, free: 7.531 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002985/0.2574, allocations: 80.8 kB / 338 MB, free: 7.449 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.2576, allocations: 39.92 kB / 338 MB, free: 7.41 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001914/0.2595, allocations: 1.858 MB / 339.9 MB, free: 5.418 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.2597, allocations: 27.75 kB / 339.9 MB, free: 5.391 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.2597, allocations: 12.06 kB / 339.9 MB, free: 5.379 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001554/0.2599, allocations: 145.9 kB / 340.1 MB, free: 5.227 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.805e-05/0.2599, allocations: 15.81 kB / 340.1 MB, free: 5.211 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005301/0.2604, allocations: 296.5 kB / 340.4 MB, free: 4.918 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.2605, allocations: 4 kB / 340.4 MB, free: 4.914 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2605, allocations: 3.984 kB / 340.4 MB, free: 4.91 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2605, allocations: 4 kB / 340.4 MB, free: 4.906 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009194/0.2614, allocations: 0.6866 MB / 341.1 MB, free: 4.16 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2614, allocations: 0 / 341.1 MB, free: 4.16 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.2615, allocations: 24 kB / 341.1 MB, free: 4.137 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002319/0.2618, allocations: 80.67 kB / 341.2 MB, free: 4.055 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.2618, allocations: 4 kB / 341.2 MB, free: 4.051 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001749/0.2636, allocations: 1.847 MB / 343 MB, free: 2.066 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2636, allocations: 4.062 kB / 343 MB, free: 2.062 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005841/0.2642, allocations: 443.6 kB / 343.5 MB, free: 1.609 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.544e-05/0.2643, allocations: 116.9 kB / 343.6 MB, free: 1.477 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.2643, allocations: 8 kB / 343.6 MB, free: 1.469 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.2644, allocations: 0 / 343.6 MB, free: 1.469 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.2645, allocations: 27.97 kB / 343.6 MB, free: 1.441 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.2645, allocations: 4 kB / 343.6 MB, free: 1.438 MB / 270.1 MB Notification: Performance of sorting global known variables: time 9.576e-05/0.2646, allocations: 127.5 kB / 343.7 MB, free: 1.312 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2646, allocations: 4 kB / 343.8 MB, free: 1.309 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005071/0.2651, allocations: 87.84 kB / 343.8 MB, free: 1.223 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSource.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 (15): * Single equations (assignments): 14 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002135/0.2653, allocations: 127.2 kB / 344 MB, free: 1.09 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006033/0.2659, allocations: 346.3 kB / 344.3 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2659, allocations: 0 / 344.3 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003116/0.2663, allocations: 251.5 kB / 344.5 MB, free: 492 kB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.2665, allocations: 19.89 kB / 344.6 MB, free: 472 kB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000988/0.2675, allocations: 0.71 MB / 345.3 MB, free: 15.72 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.2678, allocations: 0.7635 MB / 346 MB, free: 14.93 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001019/0.268, allocations: 21.94 kB / 346.1 MB, free: 14.91 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.878e-05/0.268, allocations: 23.42 kB / 346.1 MB, free: 14.89 MB / 286.1 MB Notification: Performance of SimCode: time 3.1e-07/0.268, allocations: 0 / 346.1 MB, free: 14.89 MB / 286.1 MB Notification: Performance of Templates: time 0.005701/0.2737, allocations: 2.343 MB / 348.4 MB, free: 12.54 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) Environment - environmentSimulation: