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.001147/0.001147, allocations: 110 kB / 17.06 MB, free: 6.02 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.001151/0.001151, allocations: 191 kB / 18 MB, free: 5.109 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.461/1.461, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.002217/0.002217, allocations: 55.92 kB / 327.9 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1363, allocations: 46.62 MB / 374.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.00518/0.1415, allocations: 4.141 MB / 378.6 MB, free: 428 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2089/0.3505, allocations: 1.661 MB / 380.3 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002356/0.3508, allocations: 11 kB / 380.3 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002193/0.353, allocations: 1.014 MB / 381.3 MB, free: 9.59 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000531/0.3535, allocations: 236.3 kB / 381.5 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001539/0.3551, allocations: 0.7914 MB / 382.3 MB, free: 9.363 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008074/0.3559, allocations: 0.6196 MB / 383 MB, free: 9.223 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007455/0.3567, allocations: 0.4982 MB / 383.5 MB, free: 9.168 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004109/0.3571, allocations: 270.5 kB / 383.7 MB, free: 9.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004342/0.3575, allocations: 344.2 kB / 384.1 MB, free: 8.934 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.31e-05/0.3576, allocations: 55.78 kB / 384.1 MB, free: 8.934 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000644/0.3583, allocations: 266.3 kB / 384.4 MB, free: 8.863 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.3584, allocations: 130.3 kB / 384.5 MB, free: 8.781 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002792/0.3587, allocations: 309.9 kB / 384.8 MB, free: 8.598 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.3599, allocations: 0.9112 MB / 385.7 MB, free: 8.277 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3599, allocations: 0.6562 kB / 385.7 MB, free: 8.277 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3599, allocations: 1.25 kB / 385.7 MB, free: 8.277 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.36, allocations: 0 / 385.7 MB, free: 8.277 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.00359/0.3636, allocations: 1.203 MB / 386.9 MB, free: 7.574 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.3636, allocations: 12.48 kB / 386.9 MB, free: 7.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/0.3648, allocations: 176.8 kB / 387.1 MB, free: 7.52 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.365, allocations: 240.5 kB / 387.3 MB, free: 7.27 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.46e-05/0.3651, allocations: 52.72 kB / 387.4 MB, free: 7.246 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.3652, allocations: 64.47 kB / 387.4 MB, free: 7.227 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/0.3665, allocations: 0.7051 MB / 388.2 MB, free: 6.914 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.3665, allocations: 2.031 kB / 388.2 MB, free: 6.914 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.1e-05/0.3666, allocations: 29.84 kB / 388.2 MB, free: 6.891 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.751e-05/0.3666, allocations: 15.91 kB / 388.2 MB, free: 6.891 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.3679, allocations: 0.6039 MB / 388.8 MB, free: 6.688 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003061/0.371, allocations: 2.3 MB / 391.1 MB, free: 5.195 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/0.3724, allocations: 1.639 MB / 392.7 MB, free: 3.742 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005254/0.373, allocations: 273.6 kB / 393 MB, free: 3.633 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001115/0.3731, allocations: 98.45 kB / 393.1 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.3731, allocations: 43.44 kB / 393.1 MB, free: 3.488 MB / 318.1 MB Notification: Performance of pre-optimization done (n=66): time 2.775e-06/0.3731, allocations: 3.938 kB / 393.2 MB, free: 3.484 MB / 318.1 MB Notification: Performance of matching and sorting (n=66): time 0.001594/0.3747, allocations: 0.6958 MB / 393.8 MB, free: 3.215 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.3748, allocations: 115.4 kB / 394 MB, free: 3.086 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002926/0.3751, allocations: 261.7 kB / 394.2 MB, free: 2.926 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.589e-05/0.3751, allocations: 36.36 kB / 394.2 MB, free: 2.887 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.3753, allocations: 264.8 kB / 394.5 MB, free: 2.672 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.3754, allocations: 228.4 kB / 394.7 MB, free: 2.496 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001906/0.3756, allocations: 119.2 kB / 394.8 MB, free: 2.43 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.253e-05/0.3757, allocations: 345.7 kB / 395.2 MB, free: 2.102 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005001/0.3762, allocations: 207.4 kB / 395.4 MB, free: 2.035 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005713/0.3768, allocations: 304.4 kB / 395.7 MB, free: 1.875 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009746/0.3778, allocations: 0.5166 MB / 396.2 MB, free: 1.609 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3778, allocations: 0 / 396.2 MB, free: 1.609 MB / 318.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001217/0.379, allocations: 0.6242 MB / 396.8 MB, free: 1.355 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.379, allocations: 5.375 kB / 396.8 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.379, allocations: 1.281 kB / 396.8 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.3791, allocations: 5.047 kB / 396.8 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007376/0.3798, allocations: 160.7 kB / 397 MB, free: 1.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.597e-05/0.3798, allocations: 5.453 kB / 397 MB, free: 1.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005204/0.3804, allocations: 76.56 kB / 397.1 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.621e-05/0.3804, allocations: 23.78 kB / 397.1 MB, free: 1.289 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.0002097/0.3806, allocations: 197 kB / 397.3 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.944e-05/0.3807, allocations: 33.5 kB / 397.3 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001246/0.382, allocations: 0.5995 MB / 397.9 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.382, allocations: 7.578 kB / 397.9 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.382, allocations: 9.312 kB / 397.9 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.382, allocations: 2.953 kB / 397.9 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002076/0.3841, allocations: 1.29 MB / 399.2 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.3841, allocations: 1.734 kB / 399.2 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005843/0.3847, allocations: 128.7 kB / 399.4 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.3847, allocations: 6.375 kB / 399.4 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.565e-05/0.3848, allocations: 14.84 kB / 399.4 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.3848, allocations: 7.922 kB / 399.4 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3848, allocations: 0 / 399.4 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00175/0.3866, allocations: 0.9723 MB / 400.4 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.3867, allocations: 128.1 kB / 400.5 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.65e-05/0.3867, allocations: 12.17 kB / 400.5 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004128/0.3872, allocations: 31.02 kB / 400.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.3873, allocations: 39.06 kB / 400.6 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.056e-05/0.3874, allocations: 23.86 kB / 400.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002884/0.3877, allocations: 189.8 kB / 400.8 MB, free: 15.3 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.3877, allocations: 0 / 400.8 MB, free: 15.3 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008491/0.3885, allocations: 177.8 kB / 400.9 MB, free: 15.25 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.0003527/0.3889, allocations: 141.1 kB / 401.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00138/0.3903, allocations: 0.5325 MB / 401.6 MB, free: 14.97 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3903, allocations: 384 / 401.6 MB, free: 14.97 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005337/0.3908, allocations: 276.5 kB / 401.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005481/0.3914, allocations: 47.38 kB / 401.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002262/0.3937, allocations: 1.066 MB / 403 MB, free: 14.28 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/0.3941, allocations: 0.8459 MB / 403.8 MB, free: 13.57 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003599/0.3945, allocations: 79.88 kB / 403.9 MB, free: 13.54 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001528/0.3946, allocations: 44.22 kB / 404 MB, free: 13.53 MB / 334.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3947, allocations: 1.594 kB / 404 MB, free: 13.53 MB / 334.1 MB Notification: Performance of Templates: time 0.01122/0.4059, allocations: 5.171 MB / 409.1 MB, free: 11.13 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)