Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001017/0.001017, allocations: 99.86 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.001007/0.001008, allocations: 177.3 kB / 15.94 MB, free: 228 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.478/1.478, allocations: 205.4 MB / 222.1 MB, free: 5.492 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.0004283/0.0004284, allocations: 8 kB / 278.9 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2293, allocations: 47.58 MB / 326.5 MB, free: 1.438 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.003275/0.2326, allocations: 3.282 MB / 329.7 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002367/0.235, allocations: 1.548 MB / 331.3 MB, free: 13.66 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001768/0.2352, allocations: 11.69 kB / 331.3 MB, free: 13.66 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000448/0.2357, allocations: 163.3 kB / 331.5 MB, free: 13.54 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004758/0.2361, allocations: 225.2 kB / 331.7 MB, free: 13.36 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.2374, allocations: 0.6459 MB / 332.3 MB, free: 12.87 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005144/0.2379, allocations: 424 kB / 332.7 MB, free: 12.62 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001393/0.2393, allocations: 0.8024 MB / 333.5 MB, free: 12.02 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003646/0.2397, allocations: 225.6 kB / 333.8 MB, free: 11.9 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003357/0.2401, allocations: 278.6 kB / 334 MB, free: 11.73 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.164e-05/0.2401, allocations: 25.47 kB / 334.1 MB, free: 11.73 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004817/0.2406, allocations: 210.2 kB / 334.3 MB, free: 11.64 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.3e-05/0.2407, allocations: 100.6 kB / 334.4 MB, free: 11.55 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.2408, allocations: 129.4 kB / 334.5 MB, free: 11.42 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000643/0.2415, allocations: 0.6752 MB / 335.2 MB, free: 10.75 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.2415, allocations: 4 kB / 335.2 MB, free: 10.74 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2415, allocations: 0 / 335.2 MB, free: 10.74 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.2415, allocations: 0 / 335.2 MB, free: 10.74 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.003229/0.2447, allocations: 1.097 MB / 336.3 MB, free: 9.594 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.2448, allocations: 12.03 kB / 336.3 MB, free: 9.582 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.2459, allocations: 175.1 kB / 336.4 MB, free: 9.41 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.2461, allocations: 242.9 kB / 336.7 MB, free: 9.133 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.459e-05/0.2462, allocations: 46 kB / 336.7 MB, free: 9.09 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.2463, allocations: 71.98 kB / 336.8 MB, free: 9.02 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.2475, allocations: 0.7035 MB / 337.5 MB, free: 8.297 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.2475, allocations: 0 / 337.5 MB, free: 8.297 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.765e-05/0.2476, allocations: 31.98 kB / 337.5 MB, free: 8.266 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.2476, allocations: 16 kB / 337.5 MB, free: 8.25 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.2489, allocations: 0.6218 MB / 338.2 MB, free: 7.625 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003324/0.2522, allocations: 2.332 MB / 340.5 MB, free: 5.152 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001938/0.2541, allocations: 1.695 MB / 342.2 MB, free: 3.227 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001352/0.2543, allocations: 89.72 kB / 342.3 MB, free: 3.121 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.2543, allocations: 39.12 kB / 342.3 MB, free: 3.074 MB / 270.1 MB Notification: Performance of pre-optimization done (n=66): time 1.934e-06/0.2543, allocations: 4 kB / 342.3 MB, free: 3.07 MB / 270.1 MB Notification: Performance of matching and sorting (n=66): time 0.001566/0.2559, allocations: 0.7249 MB / 343 MB, free: 2.34 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.24e-05/0.256, allocations: 115.4 kB / 343.2 MB, free: 2.203 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002782/0.2563, allocations: 260.9 kB / 343.4 MB, free: 1.941 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.232e-05/0.2563, allocations: 37.7 kB / 343.5 MB, free: 1.898 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.2565, allocations: 264.1 kB / 343.7 MB, free: 1.637 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/0.2567, allocations: 228.7 kB / 343.9 MB, free: 1.41 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-05/0.2567, allocations: 8 kB / 343.9 MB, free: 1.402 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.2569, allocations: 346.8 kB / 344.3 MB, free: 1.055 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004652/0.2574, allocations: 221.9 kB / 344.5 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005169/0.2579, allocations: 305.3 kB / 344.8 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005098/0.2584, allocations: 259.2 kB / 345 MB, free: 268 kB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.2585, allocations: 7.953 kB / 345.1 MB, free: 260 kB / 270.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001219/0.2597, allocations: 0.6453 MB / 345.7 MB, free: 15.6 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.2597, allocations: 4 kB / 345.7 MB, free: 15.6 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.2597, allocations: 4 kB / 345.7 MB, free: 15.59 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.2597, allocations: 4 kB / 345.7 MB, free: 15.59 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000691/0.2604, allocations: 167.7 kB / 345.9 MB, free: 15.43 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.2605, allocations: 7.938 kB / 345.9 MB, free: 15.42 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004726/0.2609, allocations: 75.41 kB / 346 MB, free: 15.34 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.284e-05/0.261, allocations: 20 kB / 346 MB, free: 15.32 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.000262/0.2613, allocations: 189.7 kB / 346.2 MB, free: 15.13 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.089e-05/0.2614, allocations: 43.47 kB / 346.2 MB, free: 15.09 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001352/0.2627, allocations: 0.6241 MB / 346.8 MB, free: 14.45 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.2627, allocations: 8 kB / 346.8 MB, free: 14.44 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.2628, allocations: 4 kB / 346.8 MB, free: 14.44 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.2628, allocations: 3.984 kB / 346.8 MB, free: 14.43 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003137/0.2659, allocations: 1.316 MB / 348.2 MB, free: 13.06 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.2659, allocations: 0 / 348.2 MB, free: 13.06 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005743/0.2665, allocations: 131.9 kB / 348.3 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.2665, allocations: 7.938 kB / 348.3 MB, free: 12.92 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.35e-05/0.2666, allocations: 12 kB / 348.3 MB, free: 12.91 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.213e-06/0.2666, allocations: 7.984 kB / 348.3 MB, free: 12.9 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2666, allocations: 0 / 348.3 MB, free: 12.9 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/0.2682, allocations: 1.007 MB / 349.3 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.2683, allocations: 124.5 kB / 349.4 MB, free: 11.73 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.259e-05/0.2684, allocations: 12 kB / 349.5 MB, free: 11.72 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000479/0.2689, allocations: 31.98 kB / 349.5 MB, free: 11.69 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.374e-05/0.269, allocations: 44.45 kB / 349.5 MB, free: 11.65 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.147e-05/0.269, allocations: 27.98 kB / 349.6 MB, free: 11.62 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001941/0.2692, allocations: 184.5 kB / 349.7 MB, free: 11.44 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2692, allocations: 0 / 349.7 MB, free: 11.44 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005388/0.2698, allocations: 175.5 kB / 349.9 MB, free: 11.27 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.0002073/0.27, allocations: 147 kB / 350.1 MB, free: 11.12 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001088/0.2711, allocations: 0.5507 MB / 350.6 MB, free: 10.57 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.2711, allocations: 0 / 350.6 MB, free: 10.57 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005516/0.2717, allocations: 283.4 kB / 350.9 MB, free: 10.29 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.272, allocations: 36.42 kB / 350.9 MB, free: 10.25 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.2743, allocations: 1.322 MB / 352.2 MB, free: 8.902 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00044/0.2747, allocations: 0.8541 MB / 353.1 MB, free: 8.023 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0004097/0.2751, allocations: 79.41 kB / 353.2 MB, free: 7.941 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/0.2753, allocations: 47.42 kB / 353.2 MB, free: 7.898 MB / 286.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2753, allocations: 0 / 353.2 MB, free: 7.898 MB / 286.1 MB Notification: Performance of Templates: time 0.009151/0.2844, allocations: 4.625 MB / 357.8 MB, free: 3.27 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) Environment - environmentSimulation: