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.001338/0.001338, allocations: 109.4 kB / 17.06 MB, free: 5.965 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.001588/0.001588, allocations: 200 kB / 18.01 MB, free: 5.047 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.49/1.49, allocations: 205.1 MB / 223.9 MB, free: 12.22 MB / 190.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.001341/0.001341, allocations: 47.94 kB / 327.9 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1037, allocations: 46.62 MB / 374.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.006183/0.1099, allocations: 4.129 MB / 378.6 MB, free: 416 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2371/0.3471, allocations: 1.67 MB / 380.3 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002288/0.3473, allocations: 11 kB / 380.3 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002143/0.3496, allocations: 1.008 MB / 381.3 MB, free: 9.578 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004866/0.3501, allocations: 236.4 kB / 381.5 MB, free: 9.484 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.3515, allocations: 0.7923 MB / 382.3 MB, free: 9.355 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006801/0.3522, allocations: 0.628 MB / 383 MB, free: 9.207 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007291/0.3529, allocations: 0.4915 MB / 383.5 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003351/0.3533, allocations: 265.5 kB / 383.7 MB, free: 9.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000399/0.3537, allocations: 342.4 kB / 384 MB, free: 8.918 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.707e-05/0.3538, allocations: 53.28 kB / 384.1 MB, free: 8.918 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005166/0.3543, allocations: 262.3 kB / 384.4 MB, free: 8.852 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.73e-05/0.3544, allocations: 136 kB / 384.5 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000264/0.3547, allocations: 308.5 kB / 384.8 MB, free: 8.582 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.3557, allocations: 0.9191 MB / 385.7 MB, free: 8.258 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3557, allocations: 0 / 385.7 MB, free: 8.258 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3558, allocations: 1.031 kB / 385.7 MB, free: 8.258 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.3558, allocations: 0 / 385.7 MB, free: 8.258 MB / 318.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.003418/0.3592, allocations: 1.222 MB / 386.9 MB, free: 7.531 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.3592, allocations: 12.73 kB / 386.9 MB, free: 7.527 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/0.3604, allocations: 176.8 kB / 387.1 MB, free: 7.477 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.3606, allocations: 244.7 kB / 387.4 MB, free: 7.223 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.373e-05/0.3607, allocations: 54.11 kB / 387.4 MB, free: 7.199 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.3608, allocations: 72.58 kB / 387.5 MB, free: 7.172 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/0.3621, allocations: 0.7002 MB / 388.2 MB, free: 6.863 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.3621, allocations: 1.734 kB / 388.2 MB, free: 6.863 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.895e-05/0.3622, allocations: 30.56 kB / 388.2 MB, free: 6.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/0.3622, allocations: 15.97 kB / 388.2 MB, free: 6.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0013/0.3635, allocations: 0.6036 MB / 388.8 MB, free: 6.637 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003062/0.3666, allocations: 2.304 MB / 391.1 MB, free: 5.145 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/0.3681, allocations: 1.633 MB / 392.8 MB, free: 3.699 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005468/0.3686, allocations: 274 kB / 393 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.3687, allocations: 95.08 kB / 393.1 MB, free: 3.496 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.3688, allocations: 43.08 kB / 393.2 MB, free: 3.449 MB / 318.1 MB Notification: Performance of pre-optimization done (n=66): time 2.374e-06/0.3688, allocations: 0 / 393.2 MB, free: 3.449 MB / 318.1 MB Notification: Performance of matching and sorting (n=66): time 0.001649/0.3704, allocations: 0.7003 MB / 393.9 MB, free: 3.176 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.3705, allocations: 110.9 kB / 394 MB, free: 3.051 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002825/0.3708, allocations: 268.8 kB / 394.2 MB, free: 2.883 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.3708, allocations: 39.95 kB / 394.3 MB, free: 2.84 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.3709, allocations: 266.5 kB / 394.5 MB, free: 2.625 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000141/0.3711, allocations: 239.8 kB / 394.8 MB, free: 2.441 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/0.3713, allocations: 115.7 kB / 394.9 MB, free: 2.379 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.133e-05/0.3714, allocations: 350.3 kB / 395.2 MB, free: 2.047 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004976/0.3719, allocations: 207.2 kB / 395.4 MB, free: 1.98 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005342/0.3724, allocations: 307.5 kB / 395.7 MB, free: 1.816 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009934/0.3734, allocations: 0.5122 MB / 396.2 MB, free: 1.555 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.3734, allocations: 1.219 kB / 396.2 MB, free: 1.555 MB / 318.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001227/0.3747, allocations: 0.6304 MB / 396.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.3747, allocations: 6.438 kB / 396.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.3747, allocations: 2.703 kB / 396.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.3747, allocations: 4.656 kB / 396.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000716/0.3755, allocations: 160.7 kB / 397 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.3755, allocations: 10.22 kB / 397.1 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004817/0.376, allocations: 77.31 kB / 397.1 MB, free: 1.227 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.615e-05/0.376, allocations: 23.52 kB / 397.2 MB, free: 1.223 MB / 318.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001994/0.3762, allocations: 191.6 kB / 397.3 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.996e-05/0.3763, allocations: 41.92 kB / 397.4 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/0.3777, allocations: 0.601 MB / 398 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.3777, allocations: 10.88 kB / 398 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.3777, allocations: 0.8438 kB / 398 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.3777, allocations: 4.375 kB / 398 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002266/0.38, allocations: 1.288 MB / 399.3 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.38, allocations: 1.062 kB / 399.3 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005982/0.3806, allocations: 128.4 kB / 399.4 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/0.3807, allocations: 7.406 kB / 399.4 MB, free: 36 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.351e-05/0.3807, allocations: 14.91 kB / 399.4 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.405e-06/0.3807, allocations: 7.391 kB / 399.4 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3807, allocations: 0 / 399.4 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001919/0.3827, allocations: 0.9735 MB / 400.4 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.3828, allocations: 123.5 kB / 400.5 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.588e-05/0.3829, allocations: 11.67 kB / 400.5 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004025/0.3833, allocations: 31.05 kB / 400.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.3834, allocations: 44.23 kB / 400.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.939e-05/0.3834, allocations: 22.31 kB / 400.6 MB, free: 15.35 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002197/0.3837, allocations: 189.4 kB / 400.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3837, allocations: 1.25 kB / 400.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006266/0.3843, allocations: 177.9 kB / 401 MB, free: 15.18 MB / 334.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000299/0.3846, allocations: 153.5 kB / 401.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001274/0.3859, allocations: 0.5332 MB / 401.7 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.3859, allocations: 5.25 kB / 401.7 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005607/0.3865, allocations: 278 kB / 402 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005417/0.387, allocations: 43.38 kB / 402 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/0.3892, allocations: 1.07 MB / 403.1 MB, free: 14.19 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004633/0.3897, allocations: 0.844 MB / 403.9 MB, free: 13.48 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000364/0.3901, allocations: 79.16 kB / 404 MB, free: 13.45 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/0.3902, allocations: 45.03 kB / 404 MB, free: 13.44 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3902, allocations: 0 / 404 MB, free: 13.44 MB / 334.1 MB Notification: Performance of Templates: time 0.01058/0.4008, allocations: 5.17 MB / 409.2 MB, free: 11.05 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (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)