Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_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.2.2_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.0008651/0.0008654, allocations: 89.39 kB / 16.32 MB, free: 6.449 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.0009484/0.0009487, allocations: 180.2 kB / 17.21 MB, free: 6.32 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.455/1.455, allocations: 205.4 MB / 223.4 MB, free: 5.547 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.0004144/0.0004146, allocations: 8 kB / 280.2 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2126, allocations: 47.59 MB / 327.7 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.00421/0.2169, allocations: 4.431 MB / 332.2 MB, free: 13.96 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002507/0.2194, allocations: 1.573 MB / 333.7 MB, free: 12.66 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002352/0.2197, allocations: 16.75 kB / 333.8 MB, free: 12.66 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004652/0.2201, allocations: 195 kB / 334 MB, free: 12.52 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006045/0.2208, allocations: 258.9 kB / 334.2 MB, free: 12.32 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001297/0.2221, allocations: 0.6494 MB / 334.9 MB, free: 11.82 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008418/0.2229, allocations: 0.7515 MB / 335.6 MB, free: 11.37 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002487/0.2254, allocations: 1.352 MB / 337 MB, free: 10.23 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004585/0.2259, allocations: 286.8 kB / 337.2 MB, free: 9.945 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005486/0.2264, allocations: 390.4 kB / 337.6 MB, free: 9.562 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.2266, allocations: 36 kB / 337.7 MB, free: 9.527 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005259/0.2271, allocations: 211.8 kB / 337.9 MB, free: 9.32 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.2272, allocations: 131.4 kB / 338 MB, free: 9.191 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002/0.2274, allocations: 165.3 kB / 338.2 MB, free: 9.023 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008889/0.2283, allocations: 0.8972 MB / 339.1 MB, free: 8.125 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.2283, allocations: 0 / 339.1 MB, free: 8.125 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2283, allocations: 0 / 339.1 MB, free: 8.125 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.796e-05/0.2284, allocations: 0 / 339.1 MB, free: 8.125 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.003495/0.2319, allocations: 1.283 MB / 340.3 MB, free: 6.789 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.2319, allocations: 8.031 kB / 340.3 MB, free: 6.781 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001603/0.2335, allocations: 262.7 kB / 340.6 MB, free: 6.523 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002627/0.2338, allocations: 265.9 kB / 340.9 MB, free: 6.223 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.819e-05/0.2339, allocations: 73.94 kB / 340.9 MB, free: 6.152 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001867/0.2341, allocations: 99.91 kB / 341 MB, free: 6.055 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/0.2358, allocations: 0.9302 MB / 342 MB, free: 5.109 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.838e-05/0.2358, allocations: 7.984 kB / 342 MB, free: 5.102 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.718e-05/0.2359, allocations: 36 kB / 342 MB, free: 5.066 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.403e-05/0.236, allocations: 24 kB / 342 MB, free: 5.043 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/0.2373, allocations: 0.7731 MB / 342.8 MB, free: 4.273 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005051/0.2424, allocations: 3.392 MB / 346.2 MB, free: 0.6953 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001865/0.2442, allocations: 1.253 MB / 347.4 MB, free: 15.36 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005236/0.2448, allocations: 373 kB / 347.8 MB, free: 14.99 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.2449, allocations: 106.1 kB / 347.9 MB, free: 14.87 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.2449, allocations: 43.56 kB / 348 MB, free: 14.82 MB / 286.1 MB Notification: Performance of pre-optimization done (n=87): time 2.234e-06/0.2449, allocations: 0 / 348 MB, free: 14.82 MB / 286.1 MB Notification: Performance of matching and sorting (n=87): time 0.002078/0.247, allocations: 1.3 MB / 349.3 MB, free: 13.42 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/0.2471, allocations: 90.05 kB / 349.3 MB, free: 13.32 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004083/0.2475, allocations: 372.3 kB / 349.7 MB, free: 12.95 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.712e-05/0.2476, allocations: 37.7 kB / 349.7 MB, free: 12.91 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002249/0.2478, allocations: 386.8 kB / 350.1 MB, free: 12.52 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002113/0.248, allocations: 291.7 kB / 350.4 MB, free: 12.23 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.122e-05/0.2481, allocations: 20 kB / 350.4 MB, free: 12.21 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.2482, allocations: 362.8 kB / 350.8 MB, free: 11.85 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004411/0.2486, allocations: 258.5 kB / 351 MB, free: 11.59 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005808/0.2492, allocations: 475.4 kB / 351.5 MB, free: 11.05 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005444/0.2498, allocations: 330.9 kB / 351.8 MB, free: 10.73 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.2498, allocations: 0 / 351.8 MB, free: 10.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00155/0.2513, allocations: 0.9768 MB / 352.8 MB, free: 9.738 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.2514, allocations: 8 kB / 352.8 MB, free: 9.73 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.2514, allocations: 8 kB / 352.8 MB, free: 9.723 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000357/0.2518, allocations: 123.4 kB / 352.9 MB, free: 9.59 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007439/0.2525, allocations: 203.7 kB / 353.1 MB, free: 9.391 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003866/0.2564, allocations: 5.567 MB / 358.7 MB, free: 3.281 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004823/0.2569, allocations: 94.97 kB / 358.8 MB, free: 3.188 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.337e-05/0.257, allocations: 43.98 kB / 358.8 MB, free: 3.145 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.0003134/0.2573, allocations: 241.5 kB / 359.1 MB, free: 2.898 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.2574, allocations: 55.3 kB / 359.1 MB, free: 2.844 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001457/0.2589, allocations: 0.8481 MB / 360 MB, free: 1.973 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/0.2589, allocations: 8 kB / 360 MB, free: 1.965 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.2589, allocations: 0 / 360 MB, free: 1.965 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.601e-05/0.2589, allocations: 7.984 kB / 360 MB, free: 1.957 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002725/0.2616, allocations: 1.924 MB / 361.9 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.2617, allocations: 3.938 kB / 361.9 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005258/0.2622, allocations: 139.8 kB / 362.1 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002646/0.2625, allocations: 119.5 kB / 362.2 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.415e-05/0.2625, allocations: 16 kB / 362.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003753/0.2663, allocations: 5.291 MB / 367.5 MB, free: 9.797 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.2663, allocations: 7.938 kB / 367.5 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/0.268, allocations: 1.264 MB / 368.7 MB, free: 8.469 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.2681, allocations: 148.3 kB / 368.9 MB, free: 8.305 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.015e-05/0.2682, allocations: 20 kB / 368.9 MB, free: 8.285 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003335/0.2685, allocations: 23.98 kB / 368.9 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.694e-05/0.2686, allocations: 60.53 kB / 369 MB, free: 8.203 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.287e-05/0.2687, allocations: 24 kB / 369 MB, free: 8.18 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002641/0.269, allocations: 259.1 kB / 369.3 MB, free: 7.93 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.269, allocations: 0 / 369.3 MB, free: 7.93 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008824/0.2698, allocations: 263.4 kB / 369.5 MB, free: 7.672 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.0002429/0.2701, allocations: 147 kB / 369.7 MB, free: 7.516 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001475/0.2716, allocations: 1.157 MB / 370.8 MB, free: 6.309 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2716, allocations: 0 / 370.8 MB, free: 6.309 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008288/0.2724, allocations: 0.7928 MB / 371.6 MB, free: 5.461 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005379/0.273, allocations: 61.66 kB / 371.7 MB, free: 5.398 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002466/0.2755, allocations: 1.71 MB / 373.4 MB, free: 3.629 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004907/0.276, allocations: 0.9226 MB / 374.3 MB, free: 2.68 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005022/0.2765, allocations: 105.1 kB / 374.4 MB, free: 2.574 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.2766, allocations: 55.42 kB / 374.5 MB, free: 2.52 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2766, allocations: 0 / 374.5 MB, free: 2.52 MB / 302.1 MB Notification: Performance of Templates: time 0.01147/0.2881, allocations: 6.599 MB / 381.1 MB, free: 11.91 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1)