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.001071/0.00107, allocations: 89.73 kB / 15.06 MB, free: 1.098 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.001285/0.001285, allocations: 172.7 kB / 15.95 MB, free: 208 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.612/1.612, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.0007902/0.0007903, allocations: 14.81 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3057, allocations: 47.58 MB / 326.5 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.004273/0.31, allocations: 3.507 MB / 330 MB, free: 14.66 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003322/0.3134, allocations: 1.529 MB / 331.5 MB, free: 13.42 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002384/0.3137, allocations: 11.59 kB / 331.5 MB, free: 13.42 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005193/0.3142, allocations: 172 kB / 331.7 MB, free: 13.3 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005473/0.3148, allocations: 187 kB / 331.9 MB, free: 13.15 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001489/0.3163, allocations: 0.6457 MB / 332.5 MB, free: 12.66 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006594/0.3169, allocations: 0.5612 MB / 333.1 MB, free: 12.32 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001564/0.3185, allocations: 0.8262 MB / 333.9 MB, free: 11.7 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003981/0.3189, allocations: 221.7 kB / 334.1 MB, free: 11.59 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004425/0.3194, allocations: 281.4 kB / 334.4 MB, free: 11.43 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.385e-05/0.3194, allocations: 31.31 kB / 334.4 MB, free: 11.42 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005633/0.32, allocations: 229.8 kB / 334.7 MB, free: 11.27 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.749e-05/0.3201, allocations: 103.5 kB / 334.8 MB, free: 11.16 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.3202, allocations: 129.5 kB / 334.9 MB, free: 11.03 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006832/0.3209, allocations: 0.6789 MB / 335.6 MB, free: 10.35 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.3209, allocations: 3.984 kB / 335.6 MB, free: 10.35 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3209, allocations: 0 / 335.6 MB, free: 10.35 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.321, allocations: 0 / 335.6 MB, free: 10.35 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.003091/0.324, allocations: 1.108 MB / 336.7 MB, free: 9.188 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.3241, allocations: 8.031 kB / 336.7 MB, free: 9.18 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/0.3251, allocations: 175.1 kB / 336.9 MB, free: 9.008 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.3254, allocations: 242.9 kB / 337.1 MB, free: 8.73 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.629e-05/0.3254, allocations: 50 kB / 337.1 MB, free: 8.684 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.3256, allocations: 67.98 kB / 337.2 MB, free: 8.617 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.3268, allocations: 0.7035 MB / 337.9 MB, free: 7.895 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.3269, allocations: 0 / 337.9 MB, free: 7.895 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.032e-05/0.3269, allocations: 32 kB / 337.9 MB, free: 7.863 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.109e-05/0.3269, allocations: 16 kB / 338 MB, free: 7.848 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.3281, allocations: 0.6218 MB / 338.6 MB, free: 7.223 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003369/0.3315, allocations: 2.324 MB / 340.9 MB, free: 4.758 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001737/0.3333, allocations: 1.632 MB / 342.5 MB, free: 2.895 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005147/0.3338, allocations: 287.7 kB / 342.8 MB, free: 2.609 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001517/0.334, allocations: 93.66 kB / 342.9 MB, free: 2.5 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/0.334, allocations: 47.2 kB / 343 MB, free: 2.441 MB / 270.1 MB Notification: Performance of pre-optimization done (n=66): time 2.705e-06/0.334, allocations: 3.938 kB / 343 MB, free: 2.438 MB / 270.1 MB Notification: Performance of matching and sorting (n=66): time 0.001747/0.3358, allocations: 0.7251 MB / 343.7 MB, free: 1.707 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.34e-05/0.3359, allocations: 119.3 kB / 343.8 MB, free: 1.566 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003505/0.3362, allocations: 260.8 kB / 344.1 MB, free: 1.305 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.618e-05/0.3363, allocations: 33.7 kB / 344.1 MB, free: 1.266 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.3365, allocations: 260 kB / 344.3 MB, free: 1.008 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001778/0.3366, allocations: 228.7 kB / 344.6 MB, free: 0.7812 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.3367, allocations: 16 kB / 344.6 MB, free: 0.7656 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3368, allocations: 346.8 kB / 344.9 MB, free: 428 kB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004621/0.3373, allocations: 217.9 kB / 345.1 MB, free: 208 kB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000539/0.3379, allocations: 305.4 kB / 345.4 MB, free: 15.88 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005306/0.3384, allocations: 263.2 kB / 345.7 MB, free: 15.62 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.3384, allocations: 3.938 kB / 345.7 MB, free: 15.62 MB / 286.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001367/0.3398, allocations: 0.6414 MB / 346.3 MB, free: 14.97 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.3398, allocations: 7.984 kB / 346.3 MB, free: 14.96 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.3398, allocations: 4 kB / 346.3 MB, free: 14.96 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.3399, allocations: 4 kB / 346.4 MB, free: 14.96 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000678/0.3405, allocations: 159.8 kB / 346.5 MB, free: 14.8 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.668e-05/0.3406, allocations: 8 kB / 346.5 MB, free: 14.79 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004287/0.341, allocations: 71.42 kB / 346.6 MB, free: 14.72 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.641e-05/0.3411, allocations: 31.98 kB / 346.6 MB, free: 14.69 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.0002396/0.3413, allocations: 197.5 kB / 346.8 MB, free: 14.49 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.555e-05/0.3414, allocations: 39.53 kB / 346.8 MB, free: 14.45 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/0.3427, allocations: 0.6201 MB / 347.5 MB, free: 13.82 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.248e-06/0.3427, allocations: 8 kB / 347.5 MB, free: 13.81 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3427, allocations: 0 / 347.5 MB, free: 13.81 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.3427, allocations: 3.984 kB / 347.5 MB, free: 13.8 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00209/0.3448, allocations: 1.319 MB / 348.8 MB, free: 12.43 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3448, allocations: 0 / 348.8 MB, free: 12.43 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005471/0.3454, allocations: 135.8 kB / 348.9 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.844e-06/0.3454, allocations: 4 kB / 348.9 MB, free: 12.29 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.8e-05/0.3454, allocations: 12 kB / 348.9 MB, free: 12.28 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.3455, allocations: 0 / 348.9 MB, free: 12.28 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.3455, allocations: 4 kB / 349 MB, free: 12.28 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0016/0.3471, allocations: 1.002 MB / 350 MB, free: 11.26 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.36e-05/0.3472, allocations: 128.5 kB / 350.1 MB, free: 11.11 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.896e-05/0.3472, allocations: 12.06 kB / 350.1 MB, free: 11.1 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003739/0.3476, allocations: 35.97 kB / 350.1 MB, free: 11.07 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.31e-05/0.3477, allocations: 40.5 kB / 350.2 MB, free: 11.03 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.251e-05/0.3478, allocations: 16 kB / 350.2 MB, free: 11.01 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001895/0.348, allocations: 192.5 kB / 350.4 MB, free: 10.82 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.348, allocations: 0 / 350.4 MB, free: 10.82 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006312/0.3486, allocations: 175.5 kB / 350.5 MB, free: 10.65 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.0002672/0.3489, allocations: 151 kB / 350.7 MB, free: 10.5 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001223/0.3501, allocations: 0.5507 MB / 351.2 MB, free: 9.949 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3501, allocations: 0 / 351.2 MB, free: 9.949 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005019/0.3506, allocations: 279.5 kB / 351.5 MB, free: 9.676 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004757/0.3511, allocations: 48.48 kB / 351.6 MB, free: 9.625 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.3534, allocations: 1.322 MB / 352.9 MB, free: 8.273 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007054/0.3541, allocations: 0.8424 MB / 353.7 MB, free: 7.406 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0004257/0.3546, allocations: 75.41 kB / 353.8 MB, free: 7.328 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.3547, allocations: 47.42 kB / 353.8 MB, free: 7.285 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3547, allocations: 0 / 353.8 MB, free: 7.285 MB / 286.1 MB Notification: Performance of Templates: time 0.009751/0.3645, allocations: 4.658 MB / 358.5 MB, free: 2.625 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (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)