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.001139/0.001139, allocations: 111.5 kB / 17.06 MB, free: 5.973 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.001286/0.001286, allocations: 200 kB / 18.01 MB, free: 5.055 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.38/1.38, allocations: 205.1 MB / 223.9 MB, free: 12.28 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.001305/0.001305, allocations: 51.92 kB / 327.9 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1033, allocations: 46.62 MB / 374.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005191/0.1086, allocations: 4.137 MB / 378.6 MB, free: 424 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2597/0.3683, allocations: 1.662 MB / 380.3 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002537/0.3686, allocations: 11 kB / 380.3 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002215/0.371, allocations: 1.006 MB / 381.3 MB, free: 9.578 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006353/0.3716, allocations: 240.8 kB / 381.5 MB, free: 9.484 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001579/0.3732, allocations: 0.7973 MB / 382.3 MB, free: 9.352 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008804/0.3741, allocations: 0.6274 MB / 383 MB, free: 9.203 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008079/0.3749, allocations: 0.4928 MB / 383.5 MB, free: 9.152 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004026/0.3753, allocations: 266.7 kB / 383.7 MB, free: 9.074 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004191/0.3758, allocations: 342.2 kB / 384.1 MB, free: 8.926 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.854e-05/0.3759, allocations: 52.38 kB / 384.1 MB, free: 8.926 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006395/0.3765, allocations: 266.9 kB / 384.4 MB, free: 8.855 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.3766, allocations: 133.6 kB / 384.5 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002549/0.3769, allocations: 309.1 kB / 384.8 MB, free: 8.586 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001169/0.378, allocations: 0.9068 MB / 385.7 MB, free: 8.273 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3781, allocations: 0.9844 kB / 385.7 MB, free: 8.273 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3781, allocations: 0 / 385.7 MB, free: 8.273 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.3781, allocations: 0 / 385.7 MB, free: 8.273 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.003464/0.3816, allocations: 1.208 MB / 386.9 MB, free: 7.562 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.3816, allocations: 13.39 kB / 386.9 MB, free: 7.559 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/0.3828, allocations: 175.8 kB / 387.1 MB, free: 7.508 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.383, allocations: 241.7 kB / 387.3 MB, free: 7.258 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.836e-05/0.383, allocations: 56.97 kB / 387.4 MB, free: 7.23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.3832, allocations: 64.64 kB / 387.5 MB, free: 7.211 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/0.3846, allocations: 0.7051 MB / 388.2 MB, free: 6.898 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/0.3846, allocations: 1.031 kB / 388.2 MB, free: 6.898 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.491e-05/0.3847, allocations: 25.34 kB / 388.2 MB, free: 6.879 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.875e-05/0.3847, allocations: 17.39 kB / 388.2 MB, free: 6.879 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001426/0.3862, allocations: 0.6005 MB / 388.8 MB, free: 6.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003476/0.3896, allocations: 2.311 MB / 391.1 MB, free: 5.18 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/0.3914, allocations: 1.636 MB / 392.7 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005498/0.3919, allocations: 269.4 kB / 393 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001483/0.3921, allocations: 104.1 kB / 393.1 MB, free: 3.523 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.3921, allocations: 43.83 kB / 393.2 MB, free: 3.477 MB / 318.1 MB Notification: Performance of pre-optimization done (n=66): time 2.524e-06/0.3921, allocations: 0 / 393.2 MB, free: 3.477 MB / 318.1 MB Notification: Performance of matching and sorting (n=66): time 0.001696/0.3938, allocations: 0.6994 MB / 393.9 MB, free: 3.203 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.3939, allocations: 115 kB / 394 MB, free: 3.074 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003343/0.3942, allocations: 258.1 kB / 394.2 MB, free: 2.918 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.708e-05/0.3943, allocations: 35.8 kB / 394.3 MB, free: 2.879 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.3944, allocations: 264.6 kB / 394.5 MB, free: 2.664 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.3946, allocations: 228.9 kB / 394.7 MB, free: 2.488 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001941/0.3948, allocations: 118 kB / 394.8 MB, free: 2.422 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.047e-05/0.3949, allocations: 342.9 kB / 395.2 MB, free: 2.098 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004746/0.3954, allocations: 214.2 kB / 395.4 MB, free: 2.023 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005089/0.3959, allocations: 301.3 kB / 395.7 MB, free: 1.867 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009464/0.3968, allocations: 0.5117 MB / 396.2 MB, free: 1.605 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.3968, allocations: 1.375 kB / 396.2 MB, free: 1.605 MB / 318.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00126/0.3981, allocations: 0.626 MB / 396.8 MB, free: 1.348 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.3981, allocations: 9.969 kB / 396.8 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.3982, allocations: 2.625 kB / 396.8 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/0.3982, allocations: 4.719 kB / 396.8 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007153/0.3989, allocations: 161.1 kB / 397 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.3989, allocations: 5.875 kB / 397 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004931/0.3994, allocations: 79.83 kB / 397.1 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-05/0.3995, allocations: 24.2 kB / 397.1 MB, free: 1.273 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.0002305/0.3997, allocations: 186.8 kB / 397.3 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.3998, allocations: 35.23 kB / 397.3 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/0.4011, allocations: 0.6116 MB / 397.9 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.4011, allocations: 6.875 kB / 397.9 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.4011, allocations: 0.5156 kB / 397.9 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.4012, allocations: 4.562 kB / 397.9 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00234/0.4035, allocations: 1.285 MB / 399.2 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.4035, allocations: 1.25 kB / 399.2 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006195/0.4042, allocations: 133.2 kB / 399.4 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.367e-06/0.4042, allocations: 3.266 kB / 399.4 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.394e-05/0.4042, allocations: 14.09 kB / 399.4 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/0.4042, allocations: 6.688 kB / 399.4 MB, free: 84 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.4042, allocations: 1.375 kB / 399.4 MB, free: 84 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002034/0.4063, allocations: 0.9693 MB / 400.4 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001945/0.4065, allocations: 127.4 kB / 400.5 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.045e-05/0.4066, allocations: 11.89 kB / 400.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004199/0.407, allocations: 31.47 kB / 400.5 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.4072, allocations: 38.64 kB / 400.6 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.541e-05/0.4072, allocations: 27.05 kB / 400.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002859/0.4075, allocations: 194.1 kB / 400.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.947e-06/0.4075, allocations: 1.062 kB / 400.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008469/0.4084, allocations: 179.2 kB / 401 MB, free: 15.24 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.0002985/0.4087, allocations: 139.2 kB / 401.1 MB, free: 15.13 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00125/0.4099, allocations: 0.5347 MB / 401.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.41, allocations: 1.688 kB / 401.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005934/0.4105, allocations: 274.6 kB / 401.9 MB, free: 14.87 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005003/0.4111, allocations: 52.16 kB / 401.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002568/0.4136, allocations: 1.06 MB / 403 MB, free: 14.27 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000555/0.4142, allocations: 0.8453 MB / 403.9 MB, free: 13.56 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003923/0.4146, allocations: 83.59 kB / 403.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001605/0.4148, allocations: 43.95 kB / 404 MB, free: 13.51 MB / 334.1 MB Notification: Performance of SimCode: time 4.8e-07/0.4148, allocations: 5.562 kB / 404 MB, free: 13.51 MB / 334.1 MB Notification: Performance of Templates: time 0.01193/0.4267, allocations: 5.156 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)