Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.0009218/0.0009219, allocations: 94.11 kB / 16.3 MB, free: 5.996 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.001005/0.001006, allocations: 181 kB / 17.2 MB, free: 5.914 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.502/1.502, allocations: 205.4 MB / 223.4 MB, free: 5.551 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.0004704/0.0004706, allocations: 16 kB / 280.1 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.229, allocations: 47.59 MB / 327.7 MB, free: 1.434 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.003497/0.2326, allocations: 3.282 MB / 331 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002649/0.2353, allocations: 1.541 MB / 332.5 MB, free: 13.66 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001852/0.2355, allocations: 11.38 kB / 332.5 MB, free: 13.66 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004196/0.2359, allocations: 171.1 kB / 332.7 MB, free: 13.54 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005199/0.2364, allocations: 217.1 kB / 332.9 MB, free: 13.36 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.2378, allocations: 0.6469 MB / 333.6 MB, free: 12.88 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005416/0.2383, allocations: 434.3 kB / 334 MB, free: 12.61 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001396/0.2397, allocations: 0.7919 MB / 334.8 MB, free: 12.03 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003708/0.2401, allocations: 228.8 kB / 335 MB, free: 11.9 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003618/0.2405, allocations: 278.1 kB / 335.3 MB, free: 11.73 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.884e-05/0.2406, allocations: 26.72 kB / 335.3 MB, free: 11.73 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004946/0.2411, allocations: 209.5 kB / 335.5 MB, free: 11.64 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.651e-05/0.2412, allocations: 100.1 kB / 335.6 MB, free: 11.57 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.2413, allocations: 133 kB / 335.7 MB, free: 11.44 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006741/0.242, allocations: 0.6713 MB / 336.4 MB, free: 10.77 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.242, allocations: 0 / 336.4 MB, free: 10.77 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.242, allocations: 0 / 336.4 MB, free: 10.77 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.064e-06/0.242, allocations: 0 / 336.4 MB, free: 10.77 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.00331/0.2453, allocations: 1.108 MB / 337.5 MB, free: 9.609 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.2454, allocations: 8.031 kB / 337.5 MB, free: 9.602 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.2465, allocations: 171.1 kB / 337.7 MB, free: 9.434 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.2467, allocations: 250.8 kB / 337.9 MB, free: 9.148 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.581e-05/0.2468, allocations: 50 kB / 338 MB, free: 9.102 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.49e-05/0.2469, allocations: 60 kB / 338 MB, free: 9.043 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.2481, allocations: 0.7035 MB / 338.8 MB, free: 8.32 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.2482, allocations: 3.938 kB / 338.8 MB, free: 8.316 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.305e-05/0.2482, allocations: 28 kB / 338.8 MB, free: 8.289 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.2483, allocations: 16 kB / 338.8 MB, free: 8.273 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.2495, allocations: 0.6218 MB / 339.4 MB, free: 7.648 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003245/0.2528, allocations: 2.332 MB / 341.8 MB, free: 5.176 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001911/0.2547, allocations: 1.691 MB / 343.4 MB, free: 3.254 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001329/0.2548, allocations: 97.72 kB / 343.5 MB, free: 3.141 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.2549, allocations: 43.16 kB / 343.6 MB, free: 3.09 MB / 270.1 MB Notification: Performance of pre-optimization done (n=66): time 2.274e-06/0.2549, allocations: 0 / 343.6 MB, free: 3.09 MB / 270.1 MB Notification: Performance of matching and sorting (n=66): time 0.001541/0.2564, allocations: 0.7251 MB / 344.3 MB, free: 2.359 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.805e-05/0.2565, allocations: 115.3 kB / 344.4 MB, free: 2.223 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002703/0.2568, allocations: 264.8 kB / 344.7 MB, free: 1.957 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.113e-05/0.2569, allocations: 37.7 kB / 344.7 MB, free: 1.914 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.257, allocations: 260 kB / 345 MB, free: 1.656 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001706/0.2572, allocations: 224.7 kB / 345.2 MB, free: 1.434 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/0.2572, allocations: 20.03 kB / 345.2 MB, free: 1.414 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.2574, allocations: 346.8 kB / 345.5 MB, free: 1.066 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00047/0.2579, allocations: 213.9 kB / 345.8 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005206/0.2584, allocations: 309.4 kB / 346.1 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000517/0.2589, allocations: 255.2 kB / 346.3 MB, free: 288 kB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.207e-06/0.2589, allocations: 3.953 kB / 346.3 MB, free: 284 kB / 270.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001217/0.2602, allocations: 0.6453 MB / 347 MB, free: 15.62 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.2602, allocations: 4 kB / 347 MB, free: 15.62 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.2602, allocations: 4 kB / 347 MB, free: 15.62 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.2602, allocations: 4 kB / 347 MB, free: 15.61 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006888/0.2609, allocations: 163.8 kB / 347.1 MB, free: 15.45 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.2609, allocations: 7.938 kB / 347.1 MB, free: 15.45 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000474/0.2614, allocations: 79.41 kB / 347.2 MB, free: 15.37 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.324e-05/0.2615, allocations: 27.98 kB / 347.2 MB, free: 15.34 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.0002225/0.2617, allocations: 189.6 kB / 347.4 MB, free: 15.14 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.742e-05/0.2618, allocations: 43.48 kB / 347.5 MB, free: 15.1 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001229/0.263, allocations: 0.6163 MB / 348.1 MB, free: 14.47 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.2631, allocations: 8 kB / 348.1 MB, free: 14.46 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.2631, allocations: 3.984 kB / 348.1 MB, free: 14.46 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.2631, allocations: 0 / 348.1 MB, free: 14.46 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002058/0.2651, allocations: 1.316 MB / 349.4 MB, free: 13.09 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.2652, allocations: 0 / 349.4 MB, free: 13.09 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005627/0.2657, allocations: 139.8 kB / 349.5 MB, free: 12.95 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.2657, allocations: 0 / 349.5 MB, free: 12.95 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.298e-05/0.2658, allocations: 19.98 kB / 349.6 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.2658, allocations: 0 / 349.6 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.2658, allocations: 8 kB / 349.6 MB, free: 12.92 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/0.2674, allocations: 1.003 MB / 350.6 MB, free: 11.9 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.41e-05/0.2675, allocations: 132.6 kB / 350.7 MB, free: 11.75 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.112e-05/0.2676, allocations: 8 kB / 350.7 MB, free: 11.74 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004085/0.268, allocations: 35.97 kB / 350.7 MB, free: 11.71 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.983e-05/0.2681, allocations: 48.44 kB / 350.8 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.103e-05/0.2682, allocations: 16 kB / 350.8 MB, free: 11.64 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001751/0.2683, allocations: 188.5 kB / 351 MB, free: 11.46 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2683, allocations: 4 kB / 351 MB, free: 11.46 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005375/0.2689, allocations: 175.5 kB / 351.2 MB, free: 11.29 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.0002224/0.2691, allocations: 151 kB / 351.3 MB, free: 11.13 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001105/0.2702, allocations: 0.5507 MB / 351.9 MB, free: 10.58 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.2702, allocations: 3.938 kB / 351.9 MB, free: 10.58 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005306/0.2708, allocations: 283.5 kB / 352.2 MB, free: 10.3 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.2711, allocations: 32.42 kB / 352.2 MB, free: 10.26 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00232/0.2735, allocations: 1.31 MB / 353.5 MB, free: 8.926 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005052/0.274, allocations: 0.858 MB / 354.4 MB, free: 8.043 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0004031/0.2744, allocations: 79.39 kB / 354.4 MB, free: 7.961 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.2745, allocations: 43.42 kB / 354.5 MB, free: 7.922 MB / 286.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2746, allocations: 4 kB / 354.5 MB, free: 7.918 MB / 286.1 MB Notification: Performance of Templates: time 0.008955/0.2835, allocations: 4.625 MB / 359.1 MB, free: 3.289 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) Environment - environmentSimulation: