Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001181/0.001181, allocations: 111.5 kB / 17.06 MB, free: 6 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.001065/0.001065, allocations: 200 kB / 18 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.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.001103/0.001103, allocations: 47.94 kB / 327.9 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0875/0.08861, allocations: 46.62 MB / 374.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.003492/0.09213, allocations: 2.707 MB / 377.2 MB, free: 1.828 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001659/0.09381, allocations: 1.196 MB / 378.4 MB, free: 0.625 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.09395, allocations: 8 kB / 378.4 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.174/0.268, allocations: 0.6163 MB / 379 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006714/0.2687, allocations: 129.2 kB / 379.1 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.27, allocations: 0.6747 MB / 379.8 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003756/0.2704, allocations: 290 kB / 380.1 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004892/0.2709, allocations: 278.3 kB / 380.4 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.2711, allocations: 127.4 kB / 380.5 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000197/0.2713, allocations: 170.2 kB / 380.7 MB, free: 9.629 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.093e-05/0.2713, allocations: 24.75 kB / 380.7 MB, free: 9.629 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003678/0.2717, allocations: 174.4 kB / 380.9 MB, free: 9.629 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.415e-05/0.2718, allocations: 62.83 kB / 380.9 MB, free: 9.617 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001787/0.2719, allocations: 148.9 kB / 381.1 MB, free: 9.578 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006645/0.2726, allocations: 0.4905 MB / 381.6 MB, free: 9.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.2726, allocations: 1.203 kB / 381.6 MB, free: 9.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2726, allocations: 3.938 kB / 381.6 MB, free: 9.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.2726, allocations: 0.5 kB / 381.6 MB, free: 9.52 MB / 318.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.001637/0.2743, allocations: 0.7156 MB / 382.3 MB, free: 9.074 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.2743, allocations: 8.938 kB / 382.3 MB, free: 9.074 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007911/0.2751, allocations: 127 kB / 382.4 MB, free: 9.059 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003479/0.2755, allocations: 253.5 kB / 382.7 MB, free: 8.848 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.2755, allocations: 25.75 kB / 382.7 MB, free: 8.848 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.217e-05/0.2756, allocations: 38.47 kB / 382.7 MB, free: 8.844 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005081/0.2761, allocations: 336.1 kB / 383 MB, free: 8.781 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.2761, allocations: 5.859 kB / 383 MB, free: 8.777 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.893e-05/0.2762, allocations: 10.53 kB / 383.1 MB, free: 8.777 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.2762, allocations: 8.219 kB / 383.1 MB, free: 8.777 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003872/0.2766, allocations: 243.5 kB / 383.3 MB, free: 8.773 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001816/0.2784, allocations: 1.438 MB / 384.7 MB, free: 7.789 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005887/0.279, allocations: 0.7048 MB / 385.4 MB, free: 7.117 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.2792, allocations: 106.5 kB / 385.6 MB, free: 7.07 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001016/0.2793, allocations: 86.31 kB / 385.6 MB, free: 6.977 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.708e-05/0.2793, allocations: 38.5 kB / 385.7 MB, free: 6.93 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.563e-06/0.2793, allocations: 1.812 kB / 385.7 MB, free: 6.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001211/0.2805, allocations: 494.6 kB / 386.2 MB, free: 6.68 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.2806, allocations: 62 kB / 386.2 MB, free: 6.613 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.2808, allocations: 174.4 kB / 386.4 MB, free: 6.488 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.2808, allocations: 29.7 kB / 386.4 MB, free: 6.453 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.2809, allocations: 178.8 kB / 386.6 MB, free: 6.305 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.238e-05/0.281, allocations: 83.23 kB / 386.7 MB, free: 6.238 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.255e-05/0.2811, allocations: 49.58 kB / 386.7 MB, free: 6.207 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.599e-05/0.2812, allocations: 327.6 kB / 387 MB, free: 5.887 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.2813, allocations: 71.16 kB / 387.1 MB, free: 5.859 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.2815, allocations: 126.1 kB / 387.2 MB, free: 5.766 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/0.2818, allocations: 216.4 kB / 387.4 MB, free: 5.625 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2818, allocations: 0 / 387.4 MB, free: 5.625 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005992/0.2824, allocations: 333.7 kB / 387.8 MB, free: 5.477 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.2824, allocations: 7.672 kB / 387.8 MB, free: 5.477 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.2824, allocations: 1.688 kB / 387.8 MB, free: 5.477 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003349/0.2828, allocations: 77.56 kB / 387.9 MB, free: 5.453 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.2829, allocations: 42.48 kB / 387.9 MB, free: 5.453 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001675/0.2846, allocations: 2.036 MB / 389.9 MB, free: 3.648 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000145/0.2848, allocations: 30.56 kB / 390 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.2848, allocations: 8.984 kB / 390 MB, free: 3.625 MB / 318.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001295/0.2849, allocations: 147.2 kB / 390.1 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.571e-05/0.285, allocations: 17.03 kB / 390.1 MB, free: 3.48 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005839/0.2856, allocations: 291 kB / 390.4 MB, free: 3.332 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.2856, allocations: 6.188 kB / 390.4 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2856, allocations: 2 kB / 390.4 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.2856, allocations: 1.906 kB / 390.4 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009064/0.2865, allocations: 0.6865 MB / 391.1 MB, free: 2.844 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2865, allocations: 0 / 391.1 MB, free: 2.844 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.2867, allocations: 27.56 kB / 391.1 MB, free: 2.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002334/0.2869, allocations: 72.28 kB / 391.2 MB, free: 2.816 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.2869, allocations: 1.188 kB / 391.2 MB, free: 2.816 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001583/0.2885, allocations: 2.038 MB / 393.3 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2885, allocations: 1.5 kB / 393.3 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006833/0.2892, allocations: 455.7 kB / 393.7 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.332e-05/0.2893, allocations: 118.4 kB / 393.8 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.2894, allocations: 5.219 kB / 393.8 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.2895, allocations: 3.109 kB / 393.8 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.305e-05/0.2895, allocations: 19.34 kB / 393.8 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.2896, allocations: 5.094 kB / 393.8 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001111/0.2897, allocations: 125.3 kB / 394 MB, free: 0.5 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2897, allocations: 0 / 394 MB, free: 0.5 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005423/0.2902, allocations: 98.06 kB / 394.1 MB, free: 484 kB / 318.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000217/0.2904, allocations: 120.5 kB / 394.2 MB, free: 384 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005931/0.291, allocations: 352.8 kB / 394.5 MB, free: 172 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2911, allocations: 4.125 kB / 394.5 MB, free: 168 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003229/0.2914, allocations: 247.9 kB / 394.8 MB, free: 15.99 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.2917, allocations: 22.58 kB / 394.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000996/0.2927, allocations: 0.566 MB / 395.4 MB, free: 15.63 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.2931, allocations: 0.7593 MB / 396.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001147/0.2932, allocations: 28.3 kB / 396.1 MB, free: 14.92 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.811e-05/0.2932, allocations: 16.61 kB / 396.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2932, allocations: 0 / 396.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of Templates: time 0.00649/0.2997, allocations: 2.581 MB / 398.7 MB, free: 14.66 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1)