Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.CylinderLeakage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001181, allocations: 92 kB / 15.06 MB, free: 1.098 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.001325/0.001325, allocations: 172.7 kB / 15.95 MB, free: 208 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.622/1.622, allocations: 205.4 MB / 222.1 MB, free: 5.512 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.0005235/0.0005239, allocations: 8 kB / 278.9 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2173, allocations: 47.59 MB / 326.5 MB, free: 1.633 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.005164/0.2225, allocations: 4.438 MB / 330.9 MB, free: 14.16 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003713/0.2262, allocations: 1.565 MB / 332.5 MB, free: 12.87 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009059/0.2272, allocations: 16.66 kB / 332.5 MB, free: 12.87 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009601/0.2282, allocations: 190.2 kB / 332.7 MB, free: 12.73 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001391/0.2296, allocations: 261.3 kB / 332.9 MB, free: 12.53 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001753/0.2314, allocations: 0.6528 MB / 333.6 MB, free: 12.03 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001479/0.2328, allocations: 0.747 MB / 334.3 MB, free: 11.58 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002799/0.2357, allocations: 1.36 MB / 335.7 MB, free: 10.36 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005849/0.2363, allocations: 286.8 kB / 336 MB, free: 10.07 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006405/0.2369, allocations: 390.4 kB / 336.4 MB, free: 9.691 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000136/0.2371, allocations: 36 kB / 336.4 MB, free: 9.656 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007394/0.2378, allocations: 203.8 kB / 336.6 MB, free: 9.457 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.238, allocations: 131.4 kB / 336.7 MB, free: 9.328 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002526/0.2382, allocations: 165.3 kB / 336.9 MB, free: 9.16 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0012/0.2394, allocations: 0.9012 MB / 337.8 MB, free: 8.258 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.2394, allocations: 0 / 337.8 MB, free: 8.258 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2395, allocations: 0 / 337.8 MB, free: 8.258 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.995e-05/0.2395, allocations: 0 / 337.8 MB, free: 8.258 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003711/0.2432, allocations: 1.291 MB / 339.1 MB, free: 6.914 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.2433, allocations: 11.97 kB / 339.1 MB, free: 6.902 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001654/0.2449, allocations: 254.8 kB / 339.3 MB, free: 6.652 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.2452, allocations: 257.9 kB / 339.6 MB, free: 6.359 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.481e-05/0.2453, allocations: 73.94 kB / 339.7 MB, free: 6.289 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000206/0.2455, allocations: 103.9 kB / 339.8 MB, free: 6.188 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/0.2472, allocations: 0.938 MB / 340.7 MB, free: 5.234 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.127e-05/0.2473, allocations: 0 / 340.7 MB, free: 5.234 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-05/0.2474, allocations: 40 kB / 340.7 MB, free: 5.195 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.128e-05/0.2474, allocations: 24 kB / 340.8 MB, free: 5.172 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001392/0.2488, allocations: 0.773 MB / 341.5 MB, free: 4.402 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005282/0.2541, allocations: 3.389 MB / 344.9 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001873/0.256, allocations: 1.257 MB / 346.2 MB, free: 15.48 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005366/0.2566, allocations: 361.2 kB / 346.5 MB, free: 15.13 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.2567, allocations: 102.1 kB / 346.6 MB, free: 15.01 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.2567, allocations: 43.56 kB / 346.7 MB, free: 14.96 MB / 286.1 MB Notification: Performance of pre-optimization done (n=87): time 2.334e-06/0.2567, allocations: 0 / 346.7 MB, free: 14.96 MB / 286.1 MB Notification: Performance of matching and sorting (n=87): time 0.002142/0.2589, allocations: 1.308 MB / 348 MB, free: 13.56 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.259, allocations: 86.11 kB / 348.1 MB, free: 13.46 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004796/0.2595, allocations: 364.3 kB / 348.4 MB, free: 13.1 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.274e-05/0.2595, allocations: 41.7 kB / 348.5 MB, free: 13.05 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002532/0.2598, allocations: 378.8 kB / 348.8 MB, free: 12.67 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000245/0.26, allocations: 303.7 kB / 349.1 MB, free: 12.37 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.116e-05/0.2601, allocations: 20 kB / 349.2 MB, free: 12.35 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.2603, allocations: 362.8 kB / 349.5 MB, free: 11.99 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000474/0.2607, allocations: 258.5 kB / 349.8 MB, free: 11.73 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007072/0.2614, allocations: 475.4 kB / 350.2 MB, free: 11.2 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005952/0.2621, allocations: 330.9 kB / 350.6 MB, free: 10.87 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/0.2621, allocations: 0 / 350.6 MB, free: 10.87 MB / 286.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001661/0.2637, allocations: 0.9801 MB / 351.5 MB, free: 9.875 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.2638, allocations: 8 kB / 351.5 MB, free: 9.867 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.2638, allocations: 4 kB / 351.5 MB, free: 9.863 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003791/0.2642, allocations: 123.8 kB / 351.7 MB, free: 9.73 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007702/0.265, allocations: 207.7 kB / 351.9 MB, free: 9.527 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004177/0.2691, allocations: 5.57 MB / 357.4 MB, free: 3.414 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006092/0.2698, allocations: 94.97 kB / 357.5 MB, free: 3.32 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.661e-05/0.2699, allocations: 48.11 kB / 357.6 MB, free: 3.273 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (120): * Single equations (assignments): 116 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003803/0.2703, allocations: 229.5 kB / 357.8 MB, free: 3.039 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.2704, allocations: 59.3 kB / 357.9 MB, free: 2.98 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001497/0.2719, allocations: 0.8481 MB / 358.7 MB, free: 2.109 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.2719, allocations: 12 kB / 358.7 MB, free: 2.098 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.272, allocations: 0 / 358.7 MB, free: 2.098 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.272, allocations: 3.984 kB / 358.7 MB, free: 2.094 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002913/0.2749, allocations: 1.928 MB / 360.7 MB, free: 32 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.2749, allocations: 4 kB / 360.7 MB, free: 28 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005849/0.2755, allocations: 144 kB / 360.8 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002951/0.2758, allocations: 107.3 kB / 360.9 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-05/0.2759, allocations: 20 kB / 360.9 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003685/0.2796, allocations: 5.287 MB / 366.2 MB, free: 9.938 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/0.2796, allocations: 7.938 kB / 366.2 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/0.2814, allocations: 1.264 MB / 367.5 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001755/0.2816, allocations: 148.3 kB / 367.6 MB, free: 8.445 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.276e-05/0.2817, allocations: 23.98 kB / 367.6 MB, free: 8.422 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003604/0.2821, allocations: 16 kB / 367.7 MB, free: 8.406 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.2822, allocations: 68.53 kB / 367.7 MB, free: 8.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.201e-05/0.2822, allocations: 28 kB / 367.8 MB, free: 8.312 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002922/0.2825, allocations: 251.2 kB / 368 MB, free: 8.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2825, allocations: 0 / 368 MB, free: 8.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001095/0.2836, allocations: 259.4 kB / 368.3 MB, free: 7.816 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (78): * Single equations (assignments): 74 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003086/0.284, allocations: 151 kB / 368.4 MB, free: 7.656 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001848/0.2858, allocations: 1.166 MB / 369.6 MB, free: 6.441 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.2858, allocations: 0 / 369.6 MB, free: 6.441 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009864/0.2868, allocations: 0.7916 MB / 370.4 MB, free: 5.594 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005771/0.2874, allocations: 57.42 kB / 370.4 MB, free: 5.535 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002957/0.2904, allocations: 1.718 MB / 372.1 MB, free: 3.758 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006104/0.291, allocations: 0.9187 MB / 373.1 MB, free: 2.812 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005593/0.2916, allocations: 101.1 kB / 373.2 MB, free: 2.711 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.2918, allocations: 55.42 kB / 373.2 MB, free: 2.652 MB / 302.1 MB Notification: Performance of SimCode: time 7.51e-07/0.2918, allocations: 7.938 kB / 373.2 MB, free: 2.645 MB / 302.1 MB Notification: Performance of Templates: time 0.01343/0.3052, allocations: 6.59 MB / 379.8 MB, free: 12.05 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1)