Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 100.3 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.0009902/0.0009903, 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.483/1.483, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.0004477/0.0004478, allocations: 15.98 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.214, allocations: 47.58 MB / 326.5 MB, free: 1.449 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.003631/0.2177, allocations: 3.29 MB / 329.7 MB, free: 14.9 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003157/0.2209, allocations: 1.536 MB / 331.3 MB, free: 13.67 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002308/0.2211, allocations: 15.19 kB / 331.3 MB, free: 13.67 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000493/0.2216, allocations: 168.4 kB / 331.5 MB, free: 13.55 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005129/0.2222, allocations: 220.4 kB / 331.7 MB, free: 13.37 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.2235, allocations: 0.6383 MB / 332.3 MB, free: 12.89 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005411/0.2241, allocations: 424.2 kB / 332.7 MB, free: 12.64 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001525/0.2256, allocations: 0.8019 MB / 333.5 MB, free: 12.04 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003924/0.226, allocations: 226.1 kB / 333.8 MB, free: 11.92 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003734/0.2264, allocations: 281 kB / 334 MB, free: 11.75 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.601e-05/0.2264, allocations: 27.28 kB / 334.1 MB, free: 11.75 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004963/0.2269, allocations: 210.1 kB / 334.3 MB, free: 11.66 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.355e-05/0.2271, allocations: 95.95 kB / 334.4 MB, free: 11.59 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.2272, allocations: 131.5 kB / 334.5 MB, free: 11.47 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00067/0.2278, allocations: 0.6713 MB / 335.2 MB, free: 10.8 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.2279, allocations: 0 / 335.2 MB, free: 10.8 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2279, allocations: 0 / 335.2 MB, free: 10.8 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.2279, allocations: 0 / 335.2 MB, free: 10.8 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003267/0.2312, allocations: 1.112 MB / 336.3 MB, free: 9.633 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.2312, allocations: 8.031 kB / 336.3 MB, free: 9.625 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/0.2323, allocations: 171.1 kB / 336.4 MB, free: 9.457 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.2326, allocations: 246.9 kB / 336.7 MB, free: 9.176 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.431e-05/0.2326, allocations: 50 kB / 336.7 MB, free: 9.129 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.2327, allocations: 64 kB / 336.8 MB, free: 9.066 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.234, allocations: 0.7074 MB / 337.5 MB, free: 8.34 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.234, allocations: 0 / 337.5 MB, free: 8.34 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.279e-05/0.2341, allocations: 28 kB / 337.5 MB, free: 8.312 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.2341, allocations: 20 kB / 337.5 MB, free: 8.293 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/0.2353, allocations: 0.6179 MB / 338.2 MB, free: 7.672 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00328/0.2386, allocations: 2.328 MB / 340.5 MB, free: 5.203 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001957/0.2406, allocations: 1.691 MB / 342.2 MB, free: 3.281 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001183/0.2407, allocations: 101.7 kB / 342.3 MB, free: 3.164 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.2408, allocations: 39.12 kB / 342.3 MB, free: 3.117 MB / 270.1 MB Notification: Performance of pre-optimization done (n=66): time 2.615e-06/0.2408, allocations: 0 / 342.3 MB, free: 3.117 MB / 270.1 MB Notification: Performance of matching and sorting (n=66): time 0.001603/0.2424, allocations: 0.7249 MB / 343 MB, free: 2.387 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.898e-05/0.2425, allocations: 115.5 kB / 343.2 MB, free: 2.25 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002647/0.2427, allocations: 264.8 kB / 343.4 MB, free: 1.977 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.36e-05/0.2428, allocations: 33.7 kB / 343.4 MB, free: 1.938 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.243, allocations: 268 kB / 343.7 MB, free: 1.672 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/0.2431, allocations: 220.7 kB / 343.9 MB, free: 1.453 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.2432, allocations: 16 kB / 343.9 MB, free: 1.438 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.2433, allocations: 346.8 kB / 344.3 MB, free: 1.09 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004816/0.2438, allocations: 217.9 kB / 344.5 MB, free: 0.875 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000538/0.2443, allocations: 309.3 kB / 344.8 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005388/0.2449, allocations: 259.2 kB / 345 MB, free: 304 kB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.2449, allocations: 3.953 kB / 345.1 MB, free: 300 kB / 270.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001242/0.2461, allocations: 0.6413 MB / 345.7 MB, free: 15.64 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.2462, allocations: 8 kB / 345.7 MB, free: 15.63 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.2462, allocations: 0 / 345.7 MB, free: 15.63 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.2462, allocations: 4.188 kB / 345.7 MB, free: 15.63 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006854/0.2469, allocations: 175.7 kB / 345.9 MB, free: 15.46 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.2469, allocations: 7.938 kB / 345.9 MB, free: 15.45 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004936/0.2474, allocations: 75.41 kB / 346 MB, free: 15.38 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-05/0.2475, allocations: 20 kB / 346 MB, free: 15.36 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (84): * Single equations (assignments): 84 * 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.0002443/0.2477, allocations: 189.7 kB / 346.2 MB, free: 15.16 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.884e-05/0.2478, allocations: 47.47 kB / 346.2 MB, free: 15.11 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/0.2491, allocations: 0.6201 MB / 346.8 MB, free: 14.48 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.2491, allocations: 8 kB / 346.8 MB, free: 14.47 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.2491, allocations: 4 kB / 346.8 MB, free: 14.47 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.2492, allocations: 3.984 kB / 346.8 MB, free: 14.46 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0021/0.2513, allocations: 1.308 MB / 348.2 MB, free: 13.1 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.2513, allocations: 4 kB / 348.2 MB, free: 13.1 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005632/0.2519, allocations: 135.9 kB / 348.3 MB, free: 12.96 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/0.2519, allocations: 7.938 kB / 348.3 MB, free: 12.96 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.43e-05/0.2519, allocations: 12 kB / 348.3 MB, free: 12.95 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.2519, allocations: 4 kB / 348.3 MB, free: 12.94 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.2519, allocations: 3.984 kB / 348.3 MB, free: 12.94 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.2536, allocations: 1.007 MB / 349.3 MB, free: 11.91 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.914e-05/0.2537, allocations: 120.5 kB / 349.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.524e-05/0.2538, allocations: 16 kB / 349.5 MB, free: 11.76 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000416/0.2542, allocations: 32.05 kB / 349.5 MB, free: 11.73 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.685e-05/0.2543, allocations: 44.45 kB / 349.5 MB, free: 11.68 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.488e-05/0.2544, allocations: 19.98 kB / 349.6 MB, free: 11.66 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001905/0.2546, allocations: 188.5 kB / 349.7 MB, free: 11.48 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2546, allocations: 0 / 349.7 MB, free: 11.48 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005924/0.2552, allocations: 171.5 kB / 349.9 MB, free: 11.31 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.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 (66): * Single equations (assignments): 66 * 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.0002378/0.2554, allocations: 151 kB / 350.1 MB, free: 11.16 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001125/0.2566, allocations: 0.5548 MB / 350.6 MB, free: 10.61 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2566, allocations: 3.938 kB / 350.6 MB, free: 10.6 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005031/0.2571, allocations: 283 kB / 350.9 MB, free: 10.32 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.2574, allocations: 40.61 kB / 350.9 MB, free: 10.28 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.2594, allocations: 1.31 MB / 352.2 MB, free: 8.941 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.2598, allocations: 0.8541 MB / 353.1 MB, free: 8.062 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0004138/0.2602, allocations: 83.39 kB / 353.2 MB, free: 7.977 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.2604, allocations: 43.42 kB / 353.2 MB, free: 7.938 MB / 286.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2604, allocations: 0 / 353.2 MB, free: 7.938 MB / 286.1 MB Notification: Performance of Templates: time 0.008573/0.269, allocations: 4.625 MB / 357.8 MB, free: 3.309 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) Environment - environmentSimulation: